Restore a vault from the command line.
The restore switch requires a vault administrator account and a database administrator account, unless the default database account is still valid. The restore command does not automatically migrate data. If restoring the vault data to an upgraded vault server, migrate the data immediately after restore.
Command |
Details |
---|---|
-Orestore |
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). |
-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). |
-Tfolder |
The target database location (optional). If used with the -TL switch, this will be the target location for the MDF database file. |
-TLfolder |
The target database log file (LDF) location (optional). |
-Ufolder |
The target file store location (optional). |
-INCR |
Performs an incremental restore. |
-QVAL |
Doesn't perform the checksum checks on the files in the file store. |
See Optional Switches for more commands.
Example
Connectivity.ADMSConsole.exe -Orestore -BC:\Backup -VUadministrator -VPadmin -DBUdbadmin -DBPdbpword -LC:\Vault.txt