When you install the Autodesk data management server, a single vault named Vault is created. The database files for the vault
are created in the MSSQL$AUTODESKVAULT\Data folder under the Microsoft SQL Server installation folder.
Several of the databases located in the Data folder are used by Microsoft SQL Server while others are specific to the vault.
Each database file (MDF) has an associated log file (LDF) that contains important transaction data and must be moved, backed
up, and restored along with the database file.
KnowledgeVaultMaster.mdf is the master vault database and it maintains the list of users, user permissions, and a list of
vaults and their corresponding filestore location.
NoteImportant: Never modify information in the SQL database.
Vault.mdf is the database for the vault named Vault. Each vault also has a SQL Server log file associated with it called VaultName.ldf.
The second component of every vault is the associated file store where the files are stored. The file store is structured
as a hierarchy of folders that are located under a main folder that has the same name as the vault. The filestore location
for the default vault named Vault is C:\Documents and Settings\All Users\Application Data\Autodesk\VaultServer. Each data
file is stored in its own folder in a normal, uncompressed format. The folders for the file store are created when you add
the first file to the vault.
NoteImportant: Never modify the files or folder structure in the file store. Only access these files through the client interface.
Attach and Detach Vaults
Follow the instructions in this section to attach and detach vaults.
Detach a Vault
Detaching a vault disconnects it from the server so it can be moved to another location. Before detaching the master vault
database, you must detach all other databases. The vault and its log file are detached. The names of the files for a vault
named "Vault" are:
These files must exist as a pair and cannot be renamed. The default location for these files is:
- C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
Detaching a vault removes all permissions to the vault. Once the vault is re-attached, permissions for each user and group
must be reassigned. In a multi-site environment, the file store path is deleted for all other sites. If the vault is re-attached,
the file store path must be reassigned at each site.
- In the navigation pane, open the Vaults folder and then select a vault to detach.
- Select Actions
Detach.
- You are prompted to confirm your actions. Click OK.
The vault and its log file are detached.
After the vault is detached, you can move the two corresponding files. The .mdf and .ldf files must be kept together. Attaching a vault reconnects the set of vault files that have been moved to the database engine.
Attach a Vault
Attaching reconnects a vault that was from a different server or from the same server but moved to another physical location
on the disk. When attaching a vault in a multi-site environment, the vault is disabled for all other sites by default. All
other sites must enable the attached vault.
NoteWhen the master vault is attached, you must add the users to the vault so they can access it.
Basic Vault Attachment
If the vault data file (.mdf) and the associated log file are both located in the SQL data folder, use these steps to attach the vault:
- Launch the Autodesk Data Management Server Console.
- In the navigation pane, select the Vaults folder.
- Select Actions
Attach.
- In the Attach Vault dialog, select the Basic tab.
- Specify the data file to attach from the list of Available Data Files. The Available Data Files list is compiled from the
.mdf files in the SQL data folder. If the desired data file is not listed, go to the Advanced tab and specifiy the directory.
- Enter the name of the file store or click the browse button to browse to the location of the file store.
- Enter the name of the vault.
- Click OK.
Advanced Vault Attachment
If the vault data file and the log file are not in the SQL data folder, use these steps to attach the vault:
- Launch the Autodesk Data Management Server Console.
- In the navigation pane, select the Vaults folder.
- Select Actions
Attach.
- In the Attach Vault dialog, select the Advanced tab.
- Enter the name of the data file to attach in the Data File field or click the browse button to browse the server for the data
file (.mdf).
- Enter the name of the transaction log file associated with the data file in the Log File field or click the browse button
to browse the server for the transaction log file (.ldf).
- Enter the name of the file store in the File Store field or click the browse button to browse to the location of the file
store.
- Enter the name of the vault in the Vault Name field.
- Click OK.
Attach and Detach the Master Vault
The names of the files for the master vault are:
- KnowledgeVaultMaster.mdf
- KnowledgeVaultMaster_log.LDF
NoteThe default location for these files is:
- C:\Program Files \Microsoft SQL Server\MSSQL.1\MSSQL\Data
KnowledgeVaultMaster is the master database for the Autodesk data management server. Similar to the SQL master database, KnowledgeVaultMaster
is a separate database containing common global administrative and configuration information for all of the vault and library
databases on the Autodesk data management server.
Detach the Master Vault
Detaching KnowledgeVaultMaster disconnects it from the server so it can be moved to another location on the disk or to another
server altogether. You must detach all other databases before detaching the KnowledgeVaultMaster vault.
- Launch the Autodesk Data Management Server Console.
- Verify that all users are logged out of the vault server before detaching a vault.
- Click Tools
Detach Master Vault.
- Click Yes to confirm your actions.
The vault and its log file are detached.
After the vault is detached, you can move the two corresponding files to any drive or partition on the same computer. The
names of the files for the master vault are:
- KnowledgeVaultMaster.mdf
- KnowledgeVaultMaster_log.LDF
NoteThese files must exist as a pair and cannot be renamed. The default location for these files is in the Data directory in the
Microsoft SQL Server installation folder.
Detach the Master Database
KnowledgeVaultMaster is the master database for the Autodesk data management server. Similar to SQL's master database, KnowledgeVaultMaster
is a separate database containing common global administrative and configuration information for all of the vault and library
databases on the Autodesk data management server
Detaching KnowledgeVaultMaster disconnects it from the server so it can be moved to another location on the disk or to another
server altogether.
You must detach all other databases before detaching the KnowledgeVaultMaster vault.
- Verify that all users are logged out of the vault server before detaching a vault.
- Click Tools
Detach Master Vault.
- Click Yes to confirm your actions.
The vault and its log file are detached.
After the vault is detached, you can move the two corresponding files to any drive or partition on the same computer. The
names of the files for the master vault are:
- KnowledgeVaultMaster.mdf
- KnowledgeVaultMaster_log.LDF
NoteThese files must exist as a pair and cannot be renamed. The default location for these files is in the Data directory in the
Microsoft SQL Server installation folder.