Importing Content
After creating an export package, you can import its content to a vault. You can use the Import Content function when you need to import data to another vault for example for replication, publication, archiving, or backup purposes. The objects and their metadata are imported and synchronized with those in the target vault. M-Files always imports versions that are new or changed compared to the current versions in the target vault.
Complete the following steps to import a content package:
- Open M-Files Admin.
- In the left-side tree view, expand a connection to M-Files server.
- Expand Document Vaults.
- Expand a vault.
-
Click Content Replication and Archiving.
Result:The content replication and archiving features are displayed in the right-side pane.
-
Click the One-time Import... button.
For information about creating a recurring import operation, see Defining a Scheduled Import.Result:The Import Content dialog is opened.
-
On the Package Location tab, define the location for the
content package.
- Optional: Enable the Import multiple content packages if you want to import multiple packages from the selected location.
- Click the ... button to define the location of the content packages to be imported.
- Optional:
Click Set Account... to define the user account
to be used for retrieving the content package from the selected
folder.
You need to use a user account that has read permissions to the selected folder.
- Optional:
Still on the Package Location tab, enable the
Use replication via cloud storage option to import from
a cloud storage location.
-
In the Connection string field, enter the provided
connection string for connecting to the cloud storage.
If you do not yet have the connection string, click Get or Request. The functionality is different in different M-Files environments.
Option Description Get The connection string is automatically filled. Request An email message to M-Files customer support is opened. Remove unwanted locations from the line Preferred location and send the email. - In the User-specified folder name field, enter a folder location in the cloud storage that will be used for importing to one vault and exporting from another.
- In the User-specified password for encryption field, enter a password of your choice that will be used for encrypting content packages. The same password must be used for exporting and importing the same packages.
-
In the Connection string field, enter the provided
connection string for connecting to the cloud storage.
- Optional:
Select Delete content package after importing if you want
the content package to be removed after the operation has been completed.
Use this option only if you import the content package to one vault. Otherwise, the content package is deleted before it is imported to all the vaults.
- Optional:
In the Configuration ID field, you can enter any string of
characters for identifying this replication job.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an additional ID for the job to the Configuration ID field. The configuration ID can be any string of characters. If a configuration ID cannot be found when the jobs are processed, M-Files uses the job ID.
-
On the Objects and Files tab, you can specify how objects
and files are imported.
For more information, see Import Objects and Files.
-
On the Structure tab, you can specify how metadata
structure is imported.
For more information, see Import Structure.
-
On the Permissions tab, you can specify the permission
settings for the imported objects.
For more information, see Permissions (Importing Content).
-
Click OK to start the import operation.
Result:A summary of the package content to be imported is opened.Important: It is essential to take into consideration that exporting and importing objects with relationships to other objects may, in some cases, produce a conflict. If the conflict cannot be resolved automatically, some of the selected objects might not be replicated. The import summary report should be reviewed carefully before proceeding with the import operation.