Attaching a Vault
A vault can be detached from M-Files Server (see Detaching a Vault). This means that all data in the vault is kept in a file folder on a hard drive but the vault is not registered on the server. If you know the name of the vault and want to start to use it again, attach the vault back to M-Files Server with M-Files Admin.

If, for example, lack of space makes it necessary to move a vault from one server to another, this can be done with the Detach and Attach functions: simply detach the vault on server A, copy the vault data to server B, and attach the vault on server B.
To attach a vault:
- Open M-Files Admin.
- In the left-side tree view, expand a connection to M-Files server.
- Select Document Vaults.
- In the task area, click Attach Document Vault.
-
In the Name field, enter the name of the detached vault.
You may look for the name of the detached vault on the server computer in the folder C:\<M-Files installation directory>\Server Vaults.
-
Select either:
- Attach using original identity: Select this option
if you want to use the existing ID of the vault.or
- Attach as a different vault (new identity): Select this option if you want to create a new unique ID for the vault.
The vault identity is used in establishing vault connections to the server. - Attach using original identity: Select this option
if you want to use the existing ID of the vault.
- Optional:
On the Advanced tab, you may select and configure the database engine for
storing vault data.
See Using Firebird as the Database Engine and Using Microsoft SQL Server as the Database Engine for more information.
-
Click OK.
Result:The Attach Vault Options dialog is opened.
-
Select the features to be disabled in the attached vault:
- External object types and value lists: Connections to external databases for object types and value lists
- Connections to external sources
- Reporting and metadata export data sets
- Scheduled export and import jobs
- Active Directory user group synchronization
- Event handlers
- Vault applications
- Remote full-text search indexes: Search indexes that are not used by dtSearch
- Anonymous login
If you do not know which features to disable, do not make changes.
Change the setting Ignore vault options listed below for multi-server mode vault that is already attached to at least one server only if you have a good reason to do so. If the vault is not part of multi-server mode setup, the setting has no effect even when it is enabled.
-
Click Disable selected.
Result:A dialog is displayed listing the features that will be in use in the attached vault.
- In the Attach Vault dialog, click Attach.