Administer > Content utilities > Exporting content

Exporting content

The cbt command exports the content you specify from a target SA mesh to an RDF/XML file that can be imported into another SA mesh. See Importing content.

The cbt command is found in the directory:

/opt/opsware/cbt/bin

The export command is:

cbt -e <content_dir> -f <filter_file> -cf <target_core_config>

The command and its arguments indicate:

    • content_dir - the path to a directory where the exported content will be stored. This directory will be created by the export function if it does not already exist.
    • filter_file - a set of rules that tells DET what content it should export from the target SA mesh. See the Exporting filters for information on creating this file.
    • target_core_config - a configuration file that tells DET where the various SA components are located, and what identity it should use to access them. Instructions for creating this file are found at Creating a target mesh configuration file.

The export command can be run multiple times using the same arguments, with the following caveats:

    • If a filter has been specified, DET will ignore any previous exports in the content directory and will restart the export process.
    • If the export command specifies a content directory that contains a valid export (one which previously succeeded), DET will prompt the user if it is OK to overwrite. If the user says it is not OK to overwrite, then DET will exit.

Before beginning an export or import process in a standalone mesh, shut down the Command Center core component to prevent users from changing any SA content until the process has completed.

In a multimaster mesh, first use the multimaster tools to ensure that the mesh is caught up and there are no conflicts, then shut down all Command Centers in the mesh to prevent users from changing any SA content until the process has completed.

See the SA 10.51 Administer section for information about stopping and restarting the Command Center core component.