Archiving the database server

Use the ccmsrv archive command to archive your database server. Ensure that users working outside of Rational® Synergy are working in their work areas. Before you archive the database server, ask users to sync (reconcile) their work areas with the database. See the Rational Synergy Help for instructions on how to sync.

This topic contains steps for Windows and Informix®.

Windows

This example creates a Level 0 archive using the tape device \\.\TAPE0 with a 1 GB tape for the database server.

Procedure

  1. Ensure that you are an Informix-Admin group member and working as local administrator to perform this command.

    You must run this command on the machine where the database server resides.

  2. Insert the tape.
  3. Type the archive command.

    > ccmsrv archive /level 0 /size 1000000 /device \\.\TAPE0

    device specifies the archive device.

    \\.\TAPE0 level specifies the archive level.

    0 size specifies the size of the archive device, in KB, 1000000.

    The size of the tape device you specify must match the capacity of the tape. You see a message like this message:

    Archive Level:  0
    Archive Device: \\.\TAPE0
    Device Size:    1000000 Kbytes
    Device Label:   level0_1115_1996_1107
    Are you sure you want to continue? (Y/N) [Y]
    Please mount tape 1 on \\.\TAPE0 and press Return to continue 
    ...
    100 percent done.
    Please label this tape as number 1 in the arc tape sequence.
    This tape contains the following logical logs: 8
    Program over.
    A copy of the database server config file has been saved as 
    D:\ccm\informix\ETC\ONCONFIG.level0_1115_1996_1107
    Database server archive succeeded.
  4. Label the tape clearly.

    You must perform this step. The success of the restore procedure depends on the accuracy of the labels.

Informix

Before you begin

If you did not set up CCM_HOME and PATH for user informix during installation, set these environment variables now.

Procedure

  1. Log on to the database server as user root.
  2. Set user to informix.
    root# su - informix
    Password: *****
  3. Insert the tape.
  4. Archive the server.

    For example, create a Level 0 archive of the hydra1 database server using the /dev/rst8 tape device with a 1 GB tape for the database server:

    $ ccmsrv archive -level 0 -size 1000000 -device /dev/rst8

    You also can use a UNIX file for the archive device. The size of device you specify must match the capacity of the tape.

  5. Label the tape clearly.

    You must perform this step. The success of the restore procedure depends on the accuracy of the labels.

  6. Exit from user informix.

Feedback