Import a Library from the Command Line

The server console command line can be used to import 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

-Oimportlibrary

The operation being performed (required).

-NLibraryName

The database name of the library to import (required).

-DFdataFilePath

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

-DLlogFilePath

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

-ZIP

A switch that indicates the data file is a Zip file containing both the .mdf and .ldf files (required regardless if the file specified in the -DF switch ends with a .zip extension).

-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 -Oimportlibrary -N"Inventor Standard Content" -DF"c:\My Library Repository\Inventor Standard Content.mdf" -VUadministrator -VPadmin -DBUsername -DBPassword