Forum for users of SQL Compare schema synchronization utility
We are working on a project to deploy our Admin tools to new servers that are brought in to the environment and to keep synchronized on existing servers. We started writing our own process and found some stumbling blocks. We have SQL Compare tool and I know it has a command line tool.
I am trying to figure out how we can compare dynamically two servers and sync automatically.
sqlcompare /MasterServer /MasterDatabase /DestServer /DestDatabase /sync
I want to keep all tables, SPs, functions synchronized between the servers I pass in to the command.
- Posts: 3
- Joined: Wed Mar 30, 2011 1:50 pm
- Location: --None--
I think the command you want to use is
sqlcompare /s1:<servername>\\<instancename> /db1:<databasename> /s2:<servername>\\<instancename> /db2:<databasename> /sync
Here is a knowledge base article on "Simple examples using the command line"
http://documentation.red-gate.com/displ ... mmand+line
Red Gate Software
- Posts: 209
- Joined: Mon Apr 23, 2012 1:49 pm
Return to SQL Compare Previous Versions
Who is online
Users browsing this forum: No registered users and 0 guests