Defining a Scheduled Import

  1. Open M-Files Admin.
  2. In the left-side tree view, expand a connection to M-Files server.
  3. Expand Document Vaults.
  4. Expand a vault.
  5. Click Content Replication and Archiving.
    Result:The content replication and archiving features are displayed in the right-side pane.
  6. In the task area, click New Scheduled Import.
    Result:The Scheduled Job Properties dialog is opened.
  7. In the Description field, type in a name for the scheduled import job.
  8. To define a schedule for this task:
    1. Click Schedule.
      Result:The Define Schedule dialog is opened.
    2. Specify the schedule with the available options.
      The schedule option When idle is not supported in M-Files.
    3. Click OK to close the Define Schedule dialog.
  9. On the Package Location tab, define the location for the content package.
    1. Optional: Enable the Import multiple content packages if you want to import multiple packages from the selected location.
    2. Click the ... button to define the location of the content packages to be imported.
    3. 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.
  10. Optional: Still on the Package Location tab, enable the Use replication via cloud storage option to import from a cloud storage location.
    1. 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.
    2. 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.
    3. 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.
  11. 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.
  12. 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.
  13. On the Objects and Files tab, you can specify how objects and files are imported.
    For more information, see Import Objects and Files.
  14. On the Structure tab, you can specify how metadata structure is imported.
    For more information, see Import Structure.
  15. On the Permissions tab, you can specify the permission settings for the imported objects.
    For more information, see Permissions (Importing Content).
  16. Click OK to save the scheduled import job and close the Scheduled Job Properties dialog.
The scheduled import job that you have just defined is added to the Scheduled Export and Import list and will be run according to the defined schedule.