We're using the following script to back up our Vault Pro 2013 Publisher server. (there are two subscribers in a connected workgroup setup, I'm not concerned with them here)
@ECHO OFF
ECHO --------------- Vault Backup Started: %date% %time% ---------------
RD /Q /S "V:\Vault_BU\B"
REN "V:\Vault_BU\A" "B"
MD "V:\Vault_BU\A\"
NET STOP "vault service name"
"C:\Program Files\Autodesk\ADMS Professional 2013\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -B"V:\Vault_BU\A" -VUadmin -VP***************
NET START "vault service name"
ECHO ----------- Local Vault Backup Completed: %date% %time% -----------
The backup has been failing to occur because this popup is interrupting the backup (see attached pic). What is the solution for this? Is there a command line switch to auto-accept this? Is forcing a replication before the backup the right thing to do? (even this seems risky, it seems one small change between replication completing and backup starting could spoil it)
Currently, the server has a Replication Event at around Midnight, this backup starts at 3am. Thanks for your aattention to this matter! I have a feeling my backup script is just a little too unrefined for our environment.
Solved! Go to Solution.
Solved by paul.gunn. Go to Solution.
Hi,
It sounds like you just need to add the -S switch to the command line. That avoids any popups.
http://wikihelp.autodesk.com/Vault/enu/Help/Help/0170-Administ170/0171-Autodesk171/0204-Command_204
Hope this helps,
Paul
Paul,
I am receiving the following error on backups:
Invalid command line switch '-s'
The command is written as follows:
"C:\Program Files\Autodesk\ADMS Professional 2013\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -s -DBSC -B"V:\Vault_BU\A" -VUadmin -VP********
Any clarification would be great. Until I sort this out I need to log into the server each night after hours to manually to click the prompt away. Thanks!
Edit- Does it have to be capital? Going to retry tomorrow. 😛
This is what happens when I troubleshoot at 11PM.