Server Maintenance Part 1: Back Up Your Vault

Backing up vault data is essential. Autodesk recommends that you back up your Vault using the following methods.

Back Up Your Vault

Develop a Backup Schedule

Automate Backup Using Microsoft Windows Task Scheduler

  1. Create a text file called Backup.txt.
  2. Insert the following text:

    @ECHO OFFREM DELETE B AND CASCADE A BACKUP SUBDIRECTORIESRMDIR /Q /S "C:\Backup\Vault\B"REN "C:\Backup\Vault\A" "B"REM CREATE A NEW DIRECTORY FOR THE BACKUPMKDIR "C:\Backup\Vault\A\"REM START THE BACKUP PROCESS (THIS IS ONE LINE OF TEXT)"C:\Program Files\Autodesk\Vault Server 20xx\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -B"C:\Backup\Vault\A" -VUadministrator -VP[YourPassword] -S

  3. Change the name of the text file to Backup.bat to convert it to a batch file.
  4. Note: When backing up a multi-site environment, back up locally on the primary server.

Create Tape Backups

    There are different ways to use a tape backup system to back up a vault. We recommend integrating the Server Console backup tools into your tape backup plan. Many systems allow you to run a script before and after the tape job executes. To back up a vault using a tape backup system, use the following scripts before and after the job runs.

    Note: We do not recommend using backup software to back up the SQL database and file store directly. This method increases the difficulty of migrating to a new release of Autodesk Vault server or restoring a vault on a new machine. In addition, never back up the SQL Server using the "live" backup plug-ins that are available for major tape backup systems. Ensure the file store and SQL data are perfectly in sync with each other. Failure to do so can render your data unusable.
  1. Run the following script before your tape backup job starts: @ECHO OFF
  2. REM THIS WILL STOP THE WEB SERVER AND "CYCLE" THE SQL SERVER REM PROVIDING THE BEST RESULTS FOR BACKING UP THE VAULTIISRESET /STOPNET STOP MSSQL$AUTODESKVAULTNET START MSSQL$AUTODESKVAULTREM START THE BACKUP PROCESS (THIS IS ONE LINE OF TEXT)"C:\Program Files\Autodesk\Data Management Server 2009\ADMS Console\Connectivity.ADMSConsole.exe" -o backup -B"C:\Backup\Vault\A" -VUadministrator -VP -S
  3. Run the following script after your tape backup job completes: @ECHO OFFREM DELETE THE BACKUP SET AFTER THE TAPE SET COMPLETESRMDIR /Q/S C:\Backup\Vault\A"REM START THE WEB SERVERIISRESET /START
  4. Validate the Tape Backup To ensure that your backup set restores properly, test both the backup and the backup procedures. We recommend that you install the Autodesk Vault server on a separate computer. Test a full restore of the data using the Restore command in Autodesk Vault server console.