When migrating from one Microsoft SQL Server to another, the new Microsoft SQL Server should be running the same or newer version of Microsoft SQL Server, and the Microsoft SQL Server edition (Enterprise or Standard) should also be the same or
higher than that of the old Microsoft SQL Server.
In other words, do not migrate vault databases from Microsoft SQL Server to an older
version or lower edition of Microsoft SQL Server.
See also Important Tasks after Installation, Vault Creation, or Vault Migration for
a checklist of tasks that we recommend to be done with vault creation.
To migrate a vault database from one Microsoft SQL Server to another:
-
Open M-Files Admin.
-
In the left-side tree view, expand a connection to M-Files server.
-
Right-click a vault.
-
Click .
-
Open Microsoft SQL Server
Management Studio and take a full backup of the vault
database.
-
Restore the database to the new Microsoft SQL Server as a new database.
-
In M-Files Admin, right-click the document vault and select
Properties from the context menu.
Result:The Document Vault Properties dialog is opened.
-
Open the Advanced tab.
-
Under the Use Microsoft SQL Server option, click the
Define... button.
Result:The Document Vault - Microsoft SQL Server dialog is
opened.
-
In the Server name field, specify the name of the new Microsoft SQL Server.
-
In the Database name field, specify the name of the new database.
-
In the Administrator credentials and Basic user
credentials sections, specify the new authentication settings.
-
Click OK to close the Document Vault - Microsoft SQL Server dialog and then click OK
to close the Document Vault Properties dialog.
-
In the left-side tree view, right-click the vault.
-
Click .
From this point forward, the M-Files server will
access the vault database from the new Microsoft SQL Server.
After migrating the vault database to the new Microsoft SQL Server, you need to create a backup job for the new database in Microsoft SQL Server
Management Studio on the new Microsoft SQL Server.
For more details and recommendations, see M-Files Backup Policy.