Backing Up a Vault
The vault backup function can be used for backing up an on-premises vault or for scheduling a recurring vault backup job. For more information about scheduled backups, refer to Scheduled Backup Jobs.
Important information
- M-Files Cloud vaults are backed up daily as a standard service. In M-Files Cloud, it is not necessary to schedule other vault backup jobs.
- It is very important to also regularly create master database backups, not only vault backups.
- You can restore the backup only on a server whose M-Files Server version is the same as or later than the version on the server that is used to create the backup. If you restore the backup on a server that has a later version, see Upgrading Vaults.
- If you use Microsoft SQL Server as the database engine of your vault, see Backing Up Microsoft SQL Server Databases for instructions on how to back up and restore your vault data.
- Do not back up an active M-Files system with a snapshot of the file system where its data is stored. This can create a damaged or unusable backup because write operations to files (most importantly, the database engine files) can be ongoing and, thus, incomplete. If you use full virtual machine (VM) snapshots for backups, make sure that the VM software fully supports creation of snapshots of an active system. This means that the software can restore the system to exactly the same state, including the memory and CPU states.
It also is important to note that M-Files stores on the hard drive of the server machine a vault-specific set of secondary data that is not included in a vault backup, but instead re-recreated after the vault backup has been restored. This data includes PDF renditions for hit-highlighting and preview, thumbnails, and most importantly, the search index of the vault. As rebuilding the search index for a large vault can take a significant amount of time, you should always consider backing up and restoring the search index as well. For instructions, see Backing Up and Restoring the Vault Search Index.
To back up a document vault, do the following steps: