The CAS-File Manager supports a tool to export the metadata catalog from one file manager to another filemanager. This document describes how to perform this process.
- Two file-manager instances running (presumably on different ports, on same or different machines)
- Common product-type policy existing on both file-manager instances. NOTE - you can specify the transfer of only specific product types, so it is not necessary to have all of the policy between two file manager instances be identical)
See import/export tool usage
Running the transfer
The below example shows how to copy the entire metadata contents of the ‘GenericFile’ product type, from a source FileManager to a destination FileManager.
NOTE - The product type which you want to copy from a source Filemanager MUST already exist on the destination Filemanager's policy. Moreover, the destination Filemanager's policy MUST be using the same product type name and product type ID as the source Filemanager
NOTE - The funny syntax of the value for the ‘--types’ argument requires you to specify both the name of the product type as well as the unique identifier. Also, the special characters used in the value of this argument are required and need to be escaped
NOTE - The source filemanager is set to run on port 9000, and the destination is set to run on 9009 – this is entirely dependent on your own setup!