Vault Server Pro 2013 Backup script problem

Vault Server Pro 2013 Backup script problem

Anonymous
Not applicable
1,326 Views
4 Replies
Message 1 of 5

Vault Server Pro 2013 Backup script problem

Anonymous
Not applicable

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)

Replication.PNG

 

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.

 

0 Likes
Accepted solutions (1)
1,327 Views
4 Replies
Replies (4)
Message 2 of 5

paul.gunn
Alumni
Alumni
Accepted 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

Message 3 of 5

Anonymous
Not applicable
I had searched for that wiki entry, and missed it somehow. Thanks for digging it up for me, I'm sure that's all I need.
0 Likes
Message 4 of 5

Anonymous
Not applicable

Paul,

 

I am receiving the following error on backups:

 

Invalid command line switch '-s'

invalid-s.PNG

 

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.

0 Likes
Message 5 of 5

paul.gunn
Alumni
Alumni
Hi,

The switch is case sensitive :
Try using -S

I believe the switch is near the bottom of the wiki page as it can be used in all command lines.

Paul
0 Likes