Back Up the Vault from the Command Line

Back up a vault using the command line.

Important: The backup switch requires a vault administrator account.
  1. Make sure no users are connected to the vault.
  2. Run Connectivity.ADMSConsole.exe from a command line with the following switches:
Note: In Autodesk Vault Professional the Hot Backup feature allows the backup to run while users are connected to the Vault.

Command

Details

-Obackup

The operation being performed (required).

-Bfolder

The back up directory (required).

-VUusername

Vault administrator account user name (required).

-VPpassword

Vault administrator account password (required unless password is blank).

-VAL

Validates the backup. Errors are recorded in the specified log file. See Optional Switches for more information on specifying a log file.

-INCR

Performs an incremental backup.

-DBSC

Excludes the standard content libraries from the back up process. The standard content libraries are detached before backing up the vault, the vault is backed up, and then the standard content libraries are reattached.

-DBUsaUser

The SQL sa account user name (required unless default sa account is used).

-DBPsapassword

The SQL sa account password (required unless default sa account is used).

-INRF

Ignore non-replicated files. If this switch is not present in the command line, files will get replicated prior to the backup starting.

Note: See Optional Switches for additional commands.

Example

Connectivity.ADMSConsole.exe -Obackup -BC:\Backup -VUadministrator -VPadmin -VAL -LC:\Backup\BackupLog.txt

Note: Paths containing spaces must be inside of double quotes (for example, "C:\Vault Backup").