Use the ccm export command to export specified
objects to a package. This package can be imported into the same or
another Rational® Synergy
database, at the same Rational Synergy
release and patch level.
Synopsis
Exporting objects
ccm export -p|-project [-serverdir server_path] -to compressed_file
[-r|-recurse] project_spec...
ccm export [-serverdir server_path] -to compressed_file object_spec...
Uses
The package format produced by the ccm
export command is implementation private and only intended
for use with ccm import.
Using the
ccm
export command to export data from one database and using
the
ccm import to import that data into another database
is subject to the following restrictions. Any use outside of those
restrictions is unsupported and may result in loss of data or data
inconsistencies in the database into which the data is imported.
- The exporting database and importing database must be at the same Rational Synergy release, iFix,
and patch level.
- If the exporting database is DCM initialized, the importing database
must also be DCM initialized.
- If the exporting database is not DCM initialized, the importing
database must also not be DCM initialized.
- The importing database must have type definitions for each object
that is to be imported into the database.
- If the user is in the ccm_admin role, the import
may overwrite and update existing objects, including objects in static states.
The use of ccm export and ccm import is
not intended as a replacement for DCM. If you are trying to implement
replication of data between Rational Synergy
databases, use DCM.
- The use of import/export to copy model, cvtype, attype, admin or
other similar types of objects that make up the Rational Synergy model is not supported.
Incorrect usage in the role of ccm_admin role can
make the importing database unusable.
Options and arguments
- object_spec
- Specifies the object to be exported. There is no expansion of
the object to include other objects.
- project_spec
- Specifies the project to be exported. If the -r|-recurse option
is not specified, only the project object is exported.
- -r|-recurse
- Specifies that for each project, the recursive members or project
are also exported.
- -serverdir server_path
- Specifies an alternate, temporary server file system location
to be used to prepare the exported data and compressed file. By default,
the command uses the dbpath/export directory. To
use this option, you must be in the ccm_admin role.
Use this option to designate an alternate, temporary server location
if there is insufficient space available on the file system hosting
the Rational Synergy database.
- -to compressed_file
- Specifies the import package compressed file that is to be created.
The compressed_file must be a
valid client file system path.