Running the OPBackup command

When you use the IBM OpenPages® with Watson™ application backup utility, run the OPBackup command in a command or shell window.

The OPBackup command does the following:

  • Stops all OpenPages with Watson services on the local application server before performing any backup operation
  • Backs up OpenPages with Watson application and environment files
  • Restarts the services on the local application server when the backup activities are complete

See Running a live OpenPages with Watson backup if you want to perform a backup without stopping services.

Procedure

  1. If global search is enabled, disable it:
    1. Log in to OpenPages as an administrator.
    2. Click Administration menu > System Configuration > Global Search and click Disable.
  2. Shut down all non-admin application servers.
  3. Open a command or shell window on the OpenPages with Watson admin application server.
  4. Navigate to the <OP_Home>/aurora/bin directory.
  5. Run the following backup command:
    Windows
    OPBackup <path-to-backup-location>
    Linux®
    ./OPBackup.sh <path-to-backup-location>

    Where <path-to-backup-location> is the full path of the directory where the backed up files are located on the OpenPages with Watson application server. If a file path is not specified, the OPBackup command uses, by default, the backup location specified in the BACKUP_LOCATION parameter of the <OP_Home>|aurora|bin|op-backup-restore.env file.

    You can use the following optional parameters:
    • app-nodb: Back up everything except the OpenPages database.
    • dbonly: Back up only the OpenPages database. (Applies to Oracle databases only. To back up an IBM® Db2® database, use the utilities that are provided with Db2.)
    For example:
    ./OPBackup.sh <path-to-backup-location> app-nodb