Copying a Vault

You can use the Copy Document Vault operation to create a copy of a vault. You can copy the vault fully or select the data components that are copied.
Note: The Copy Document Vault operation copies the vault first fully and then deletes the data components that have not been selected. For large vaults, the operation time can be long.

It is possible to copy the structure of a vault without the actual content to a new vault. You can use for example the sample vault, that is included in the M-Files installation, in this operation. To copy the structure of a large vault, we recommend exporting the structure. For more information, see Exporting Content.

To copy a vault:

  1. Open M-Files Admin.
  2. In the left-side tree view, expand a connection to M-Files Server.
  3. In the left-side tree view, right-click a vault and select Operations > Copy Document Vault.
    Result:The Copy Document Vault dialog is opened.
  4. In the Name field, enter a name for the copy of the vault.
  5. Click Define to define the vault data location on the server to which the copy is saved.
    Result:The Document Vault dialog is opened.
  6. Click the ... button to browse for the vault data location.
  7. Optional: To define a separate location for file data:
    1. Click Advanced.
      Result:The Advanced dialog is opened.
    2. Select the Separate location for file data check box.
    3. Click the ... button to browse for the file data location.
    4. To define a separate account for copying file data, click Set Account for File Data.
    5. Click OK to close the Advanced dialog.
  8. Click OK to close the Document Vault dialog.
  9. In the Data to copy section, select the vault data components that you want to copy.
    Click All to select all components or Structure Only to select only the structure components of the vault.
    If the Documents and other objects check box is selected, you can exclude file data from the vault copy for troubleshooting purposes. Click Advanced and select the Exclude file data from the vault copy check box.
  10. Click OK to copy the vault.