Export and Import Resources
If you want to use the same configurations of partners, communities, partner groups, routing channels, routing channel templates, or custom file layers in multiple Sterling File Gateway installations, you can create them in one installation, export them from there, and import them into other installations. This is useful for first creating a test system and then moving the successful configurations to a production system.
It is a good practice to fully implement Sterling File Gateway in a test environment. You can configure the required resources, test to confirm that everything is functioning as you require, and then move to a production environment. You may want to use a staging environment as another step in the process.
- To export and import from Sterling File Gateway, select Tools > B2B Console > Deployment > Resource Manager > Resource Tags.
- Search for or select from the list the resource tag name (same as the community name). When selecting a large number of resources to associate with a resource tag, you may need to use the Tab key three times to view the Finish button.
- Click Edit next to the Resource Tag.
- Edit the community resource tag to add partner groups, routing channel templates, custom file layers, routing channels, business processes, maps, service configurations, SSH resources, and any other relevant resources.
Select from the following according to your needs:
- Accounts (if created outside regular partner creation)
- Service Configurations
- Digital Certificates
- SSH Resources
- PGP Profiles
- PGP Secret Keys
- PGP Public KeysNote:
- If you use the command line for import/export of PGP Secret/Public Keys, you must add a
- When you export a secret key, which is a subkey, then the system also exports its corresponding master key.
- If you use the command line for import/export of PGP Secret/Public Keys, you must add a passphrase in
- Perimeter Servers
- Business Processes (if created for dynamic routing channel templates, custom file layers, or other extensibility)
- Mailboxes (if created outside regular partner creation or regular routing channel creation)
- Maps (if created for extensibility)
Select File Gateway Configurations to access selections of the following:
Note: A partner group is the only Sterling File Gateway object that is updated upon import. All other Sterling File Gateway objects are not updated, regardless of the specification for the “Update Existing Object” value. To update any File Gateway object other than a group on the target system upon import, you must first delete it from target system.
- Routing Channel Templates
- Consumer Custom File Layers
- Producer Custom File Layers
- Partner Groups
- Routing Channels
- Continue through the wizard, using the right and left arrows to select the components to include in the resource tag.
Click Finish to confirm the edits to the resource tag.
Note: When selecting a large number of resources to associate with a resource tag, you may need to use the Tab key three times to view the Finish button.
- From the Administration menu, select Deployment > Resource Manager > Import/Export.
- Click Go! next to Export Resources.
- Choose XML Document for the type of format.
- Select Yes for tag name.
- Choose the resource tag with the name of the community name you want to export from the list.
- Select whether to export private certificates.
- Click Finish to confirm the report. The export file is created. Examine the export report to confirm that there are no errors.
- Save the export file to an accessible directory.
In the target system, import the resources by selecting Tools > B2B Console >
Deployment > Resource Manager > Import/Export.
When importing a community, a page is presented for each kind of resource in the export file. Choose all the objects for each kind of resource so all objects are imported. You cannot specify individual partners for import; all the partners in the exported community are imported at once. Do not change the name of the resource tag. When importing routing rules, do not import any routing rules with a suffix of "_AFTRouter".
- After importing, review the Import Report to verify a status of Success for each resource. Correct any conditions noted in the report that did not result in success.