ccmsrv archive -d|-device archive_device -l|-level archive_level
[-size device_size] [-s|-server servername] [-y]
Use the ccmsrv archive command to archive a database server. Perform the archive as part of a backup plan that includes backing up the files under the Rational® Synergy database directories.
Also, if you use ccmsrv archive for metadata and a different tool for the file system, you must ensure that the backups are consistent. Ensure that the file system is inactive between the server archive and the file system backup.
For more information about archiving a database server, see Database server archiving and restoration overview and Schedule and script back ups.
You must run this command on the database server, as user informix.
Create a Level 0 archive for the database server using the/dev/rst0 device with a 1 GB tape.
$ ccmsrv archive -level 0 -size 1000000 -device /dev/rst0
The device you specify must be consistent with the type and capacity of tape.
When you archive the server, be sure to back up the Informix® server configuration file as well. This file is necessary to run or restore the Informix server.
By default, this file is named servername, and servername is the server HOSTNAME. The server configuration file is in the $CCM_HOME/informix/etc directory.