Script to automate backing up Autodesk Vault 2008

By peter.stilgoe









Here is the script I use to backup our Vault 2008 server, I run this as a scheduled task batch file on our SBS 2003 server.

Note the -S switch to run the backup in silent mode so you dont get irritating ‘OK’ pop up windows etc. -VP is where you enter your password. Obviously just change the paths & username / password to match your Vault setup.

REM: Cycling the SQL server

NET STOP MSSQL$AUTODESKVAULT
NET START MSSQL$AUTODESKVAULT

::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Delete “B” and Cascade “A” backup subdirectories
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

RMDIR /Q /S “C:\Vault Backups\B”
MOVE /Y “C:\Vault Backups\A” “C:\Vault Backups\B”

::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Start the backup process
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

MKDIR “C:\Vault Backups\A\”
“C:\Program Files\Autodesk\Data Management Server 2008\ADMS Console\Connectivity.ADMSConsole.exe” -Obackup -B”C:\Vault Backups\A” -VUadministrator -VP -VAL -S

::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Defragment the Database
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

“C:\Program Files\Autodesk\Data Management Server 2008\ADMS Console\Connectivity.ADMSConsole.exe” -Odefragment -NVault -VUadministrator -VP -S

  • Share/Bookmark


About... peter.stilgoe

This author published 368 posts in this site.
Sharepoint, InfoPath, K2, Nintex, Business Process Mapping, Business Intelligence, Automation, ECM, Document Management, Document Imaging, Internet Marketing & Online Business Consultant Email / MSN: pstilgoe@hotmail.com LinkedIn: Pete Stilgoe - Sharepoint Consultant











Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

You must be logged in to send a comment.