ccmdb backup database_path -t|-to backup_file [-no_check]
[-no_files][-synced_files synced_file_dir]
Use the ccmdb backup command to verify the integrity of a Rational® Synergy database. Then, create a compressed backup (.sbk) file of the database file systems and metadata. Use the -no_check option to suppress database integrity verification.
The output of the ccmdb backup command for Rational Synergy 7.2 or later is not compatible with previous version of the ccmdb backup command.
In Rational Synergy 7.2 or later, the backup format can be restored only by using the ccmdb restore command. The backup data can only be restored using the same Rational Synergy release unless specified otherwise. The ccmdb restore command fails when the backup data is created from different releases.
If you want to use a remote secondary server for backup, you must run the ccmdb backup command on the remote secondary server machine to reduce the primary server lockout time during backup.
To ensure the reliable backups of Rational Synergy databases, run the ccmdb backup command daily.
The database is locked during backups to prevent users from changing data in the Rational Synergy database. Users who attempt to start a session while a backup is in progress receive a message that the database is protected. Users already in a session being backed up cannot perform any operation until the backup is completed.
The maximum size of a backup file produced by the ccmdb backup command is limited by the destination file system.
You must run the ccmdb backup command on the database server as user ccm_root. The destination directory must be writable by ccm_root.
$ ccmdb backup /vol/tools4/ccmdb/base72 -t /vol/tools4/ccmdb
/vol/tools4/ccmdb/base72/db is protected.
Checking Oracle Database "base72"...
Checking Table Space data ...
Checking Catalogs and Indexes ...
Checking Number of Extents ...
Checking Default Index Existence ...
Checking IBM Rational Synergy Database Consistency...
checking IBM Rational Synergy db version 7.2...
locking tables...
retrieving all attrs...
1192 attrs retrieved
retrieving all compvers...
136 compvers retrieved
retrieving all bsites...
130 bsites retrieved
checking attrib table...
checking bsite table...
checking bsite linked list...
checking compver table...
checking all assemblies...
checking control table...
checking relate table...
checking bind table...
checking acckeys table...
0 inconsistency errors
Updating statistics ...
*
No inconsistencies found in IBM Rational Synergy database.
*
IBM Rational Synergy database checked out OK.
/vol/tools4/ccmdb/base72/db is un-protected.
Connect to //bmxz1prod/base72
/vol/tools4/ccmdb/base72/db is protected.
Need to lock //bmxz1prod/base72
opening database //bmxz1prod/base72...
locking tables...
Backup database /vol/tools4/ccmdb/base72 to file /vol/tools4/ccmdb/base72.sbk.
Creating BKINFO file...
Writing database /vol/tools4/ccmdb/base72/db to standard out.
dumping IBM Rational Synergy db version 7.2...
dumping table attrib...
.1192 records.
dumping table bind...
130 records.
dumping table bsite...
130 records.
dumping table compver...
136 records.
dumping table control...
0 records.
dumping table relate...
0 records.
dumping table release...
1 records.
dumping table acckeys...
34 records.
/vol/tools4/ccmdb/base72/db is un-protected.
Database /vol/tools4/ccmdb/base72 backup to file /vol/tools4/ccmdb/base72.sbk successfully.
Release the lock of //bmxz1prod/base72
$ ccmdb backup /vol/ccm_platform/ccm_platform -t
/vol/bmxz2data1/ccmdb/backup/ccm_platform.sbk -synced_files
/vol/bmxz2data1/ccmdb/backup/sync_file_dir -no_check