r/databases • u/LeSpatula • Nov 24 '18
Synchronizing a table between two databases, separated by a firewall
First, here's a simple picture.
So I have database A on Server A which can access database B. However, due to our firewall rules database B cannot access database A.
There is one table on both DBs that should be more or less in sync on both servers, not many rows, not business critical. Data should be correct but it can wait.
A to B is of course not a problem, but I don't know how to do B to A. Both servers have access to a common file share, so I was thinking about writing a PowerShell script on both sides to export and import the data. Select the stuff into a csv, and update/insert it on the other server. It's only one table (and a second one for my logging.)
Any better ideas?
View all comments
Show parent comment
1
u/LeSpatula Nov 24 '18 edited Nov 24 '18
Thank You, I have full access to B, but B none to A.
Firewall standards and such....
Edit: A updating B isn't a problem, but I need the other a solution for the other side.