Pre/Post-Command
I want to run "net stop MSSQL$databasename" as pre command
and "net stop MSSQL$databasename" as post backup command in Server Backupper.
How am I supposed to enter it in Configure user command window?
When I just enter "net stop MSSQL$databasename" in command field it prompt me that working directory must be entered and whatever combination of information I provide to "command", "working directory" and "arguments" command execution fails.
Can you help me with how to enter given command so it work?
Some examples on Help guides would be awesome as well.
Tagged:
Comments
/c net stop... for the argument
c:\ for the working directory?
(I don't have the paid version at home, and we haven't upgraded to 5.0 at work yet, so this is just a guess.)
At work, we use the command line version in a .bat file and stopping and starting MSSQL would be straightforward except the cmd line version starts something else and then terminates, so we periodically check that other aomei programs have finished before restarting MSSQL.