Running the OPCCBackup command

When you use the Cognos® backup utility, you run the OPCCBackup command in a command or shell window. The OPCCBackup command uses Oracle Data Pump to export the database (services can continue to run during the backup).

Note: Oracle Data Pump backup files are created on the database server.

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 a 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.
    The default content store database export locations are:
    • Windows: <oracle_base>\admin\<SID>\dpdump
    • Linux: <oracle_base>/admin/<SID>/dpdump
    If you get the warning tools.jar file is not found, see the following technote.

Results

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