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:
| 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).
|
| -DBUusername
|
Database account user name (required unless default configuration).
|
| -DBPpassword
|
Database account password (required unless default configuration).
|
| -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.
|
NoteBy default, the restore command restores both components to their original locations. If the -T is not used, then the database
is restored to the default location defined in the MSDE SQL installation. 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
NoteYou 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").