Amaan
13 years agoLevel 6
One batch file for many servers
Hi, Configuring backup for SQL databases and would like to know if it is possible to modify the batch files and put all databases from 2-3 servers into one batch file and run it. Will it get successful?
NBU: 7.0.1
Windows 2008R2
Thanks!
I dont think its possible.
you would need to have the batch file on the same sever where your data base is running.
based on the sever your script parameters also change.
you can use
DATABASE $ALL
in all the scripts as a common parameter.
but you need to specify the correct parameters for below.
SQLHOST " <hostname> "
BROWSECLIENT " <hostname> "