Restore the Vault from the Command Line
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.
- Make sure no users are connected to the vault.
- Run Connectivity.ADMSConsole.exe from a command line with the following switches:
See Optional Switches for more commands.
Note: By default, the restore command restores both SQL database files (mdf-MDF & LDF-ldf) to the default location defined in SQL. If the -U is not used, then the file store is restored to its original location.
Example
Connectivity.ADMSConsole.exe -Orestore -BC:\Backup -VUadministrator -VPadmin -DBUdbadmin -DBPdbpword -LC:\Vault.txt
Note: You specify the name and location of the backup from which you want to restore. Paths containing spaces must be inside of double quotes (for example, "C:\Vault Backup").