Running the OPCCBackup command (Db2)

When you use the Cognos® backup utility, you run the OPCCBackup command in a command or shell window.

Procedure

  1. From a command or shell window, navigate to the <CC_Home>/tools/bin, where <CC_Home> represents the installation location of the Cognos application.
  2. Run the following backup command:
    Windows
    OPCCBackup <path-to-backup-location>
    Linux®
    OPCCBackup.sh <path-to-backup-location>

    Where:

    <path-to-backup-location> is the full path of the backup directory on the Cognos server. The file path is optional.

    Note: If no file path is specified, the OPCCBackup command uses, by default, the backup location that is specified in the BACKUP_LOCATION parameter of the <CC_Home>|tools|bin|op-cc-backup-restore.env file.

Results

The backup process creates a log file in the <backup-directory-name> directory. Each time you run the OPCCBackup command, a separate log file is generated.