You are here: Web User Interface > Using the Interface > Projects > Exporting and Importing Projects

Exporting and Importing Projects

You can export the contents of FME ServerProjects, and import the projects to the same instance, or another instance, of FME Server 2017 or later.

When exporting and importing projects, keep in mind the following:

  • If a project contains users:
    • You must belong to the fmesuperuser group to export and import.
    • The same permissions the user has on the current system apply on the system to which the project is imported, butonlyon items in the project. Any other permissions the user has on the current system do not carry over.
  • The user who performs the import becomes theowner所有项目的项目。如果项目包含ns any items of the same name on the system to which the project is imported, and the user does not own these items, the import fails.
  • If a project changes after it is exported, but before it is imported, you may want to revert it to its original state, so that it matches the export. For more information, seeRemoving Projects.

To Export Projects

Note:AnyResources属于一个项目不包括在交货port unless the resource is migratable. By default, the DATA, ENGINE, and DASHBOARD Resources are configured for migration. To determine if your resource folders are migratable, open the FME Server configuration file at <FMEServerDir>Server\fmeServerConfig.txt. Locate your resources under FME SERVER SETTINGS START > Shared Resource Management. Resources with aSHAREDRESOURCE_ISMIGRATABLE_*value oftrueare migrated.

  1. On theProjectspage, select one or more projects and clickExport. The Configure Export page opens.
  2. Export To:
    • Resource Location: Saves the project configuration as a .fsproject file to the specifiedResourceslocation.
    • Download: Downloads the project configuration as a .fsproject file to your local system.
  3. Filename: If desired, edit the .fsproject project configuration filename.
  4. Notifications: (Optional) IfResource Locationis specified, expand this field and specify the Notification Service topics to notify upon success or failure of the export (default topics are already specified). For more information, seeMonitoring FME Server Activity with Notifications.
  5. To complete the export, clickSave(ifResource Locationis specified) orDownload(ifLocal Fileis specified).

To Import a Project

  1. On theProjectspage, clickImport. The Configure Import page opens.
  2. Overwrite Existing Items: If a project configuration of the same .fsproject filename already exists on the current instance, this setting controls the overwrite behavior of the import. If checked, items in the existing project are overwritten by items of the same name in the imported project. If unchecked, only items from the imported configuration that do not exist in the existing project are imported; nothing is overwritten.
  3. When usingOverwrite Existing Items, keep in mind the following, depending on thecomponentthat is being imported:

    • Notifications: IfYes, topics, subscribers, and publishers missing on the target project are added; existing ones are updated. A union is performed between topic registrations already present on the target project and topic registrations received from the source.
    • Resources: IfNo, files or folders that are missing are added; existing ones are not updated. IfYes, files or folders that are missing are added; existing ones are updated. In either case, if a root resource of the same name is not defined on the target server, the resource package is not imported.
  4. Pause Notifications System: This option appears only to users who belong to the fmesuperuser securityrole. When checked (default), allNotification Servicepublishers and subscribers are disabled during the import. When the import is complete, the notification service automatically re-enables. This option is useful to prevent notifications from triggering unexpectedly during an import. For example, you may have aDirectory Watch Publisherconfigured on a directory that is affected by the import, but do not wish to trigger notifications related to the import.
  5. This option is not available to users who do not belong to the fmesuperuser role. If an import is conducted by a non-fmesuperuser user, the notification service remains active during the import.

  6. Import From:
    • Upload: Imports a project configuration (.fsproject file) that was downloaded to the system.
    • Resource Location: Imports a project configuration (.fsproject file) that was saved to aResourceslocation.
  7. Notifications: (Optional) IfResource Locationis specified, expand this field and specify the notification service topics to notify upon success or failure of the import (default topics are already specified). For more information, seeMonitoring FME Server Activity with Notifications.
  8. To complete the import, clickUpload File(ifUploadis specified), orImport(ifResource Locationis specified).