mkbackup

Use the mkbackup command to create a backup of the configuration data (including storage systems, sessions, and copy sets) in the zero-administration embedded repository.

Syntax

Read syntax diagramSkip visual syntax diagrammkbackup-help-h-?-dir  directory

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-dir directory
Specifies the output directory for the exported database on the system from which the command was executed. This parameter is optional and if not provided, the files will only be created on the server.

Description

Prerequisites:
  • You must have Administrator privileges to run this command.
  • The user ID that was used to create the backup file must exist on the management server that is being restored.
By default, the backup file is stored in the following location:
Copy Services Manager for Distributed Systems
path_prefix\liberty\wlp\usr\servers\csmServer\properties
Copy Services Manager for z/OS® Systems
path_prefix/opt/IBM/CSM/wlp/usr/servers/csmServer/properties
You can change the default location by editing the db.backup.location property in the rmserver.properties file, which is in the following location:
Copy Services Manager for Distributed Systems
path_prefix\liberty\wlp\usr\servers\csmServer\properties
Copy Services Manager for z/OS Systems
path_prefix/opt/IBM/CSM/wlp/usr/servers/csmServer/properties

You can use the backup file to restore the zero-administration embedded repository on a management server that is running on a different operating system.

Example: Backing up configuration data on a Windows operating system

The following command backs up the configuration data.

csmcli> mkbackup

The following output is returned:

IWNR1905I Backup of internal data store completed successfully. 
The following file was created: C:\Program Files\IBM\CSM\wlp\usr\servers\
csmServer\database\backup\csmBackup_20120825_120138984.zip

Example: Backing up configuration data on the IBM® z/OS operating system

The following command backs up the configuration data.

csmcli> mkbackup

The following output is returned:

IWNR1905I Backup of internal data store completed successfully. 
The following file was created: /SYSTEM/opt/CSM/wlp/usr/servers/
csmServer/database/backup/csmBackup_20120825_120138984.zip