Attach a Library from the Command Line

The server console command line can be used to attach libraries.

  1. Make sure no users are connected to the vault.
  2. Run Connectivity.ADMSConsole.exe from a command line with the following switches:

Command

Details

-Oattachlibrary

The operation being performed (required).

-NLibraryName

The database name of the library to attach.

-DFdataFilePath

The path to the data file being attached, including the name of the file (required).

-DLlogFilePath

The path to the log file being imported, including the name of the file (required).

-VUusername

Vault administrator account user name (required).

-VPpassword

Vault administrator account password (required).

-DBUusername

Database account user name (required unless default configuration).

-DBPpassword

Database account password (required unless default configuration).

Example

Connectivity.ADMSConsole.exe -Oattachlibrary -N"Inventor Standard Content" -DF"c:\My Library Repository\Inventor Standard Content.mdf" -VUadministrator -VPadmin -DBUsername -DBPassword