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).

-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 before the backup starts.

-IFS

Only databases will be backed up if this switch is present in the command line.

-N

Specify vault or library names to be backed up. This switch can be used multiple times to specify multiple vaults/libraries.

-IVAL

No file store validation.

-INCLUDEARCHIVEFS

Includes archive file stores during backup (optional).

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").