The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
This script is used to automate the DataPower Secure Backup process.
- Creates a Secure Backup on a DataPower gateway.
- Downloads the backup files to the local filesystem.
- Optionally, pushes the backup files to a git repository.
- XML Management Interface is used to access the DataPower gateway.
- This script does not quiesce the DataPower gateway.
- The local folder name consists from the DataPower hostname, the firmware version, and the current timestamp.
Successfully tested setup:
- DataPower 10.0.5.2.
Parameter | Description | Example |
---|---|---|
DP_SERVER0 | DataPower hostname or IP address that is configured for the XML Management Interface. | gw.myorg.com |
DP_SOMA_PORT_SERVER0 | DataPower XML Management Interface port number. | 5550 |
DP_USER_SERVER0 | DataPower credentials - username to access the XML Management Interface. | admin |
DP_PASSWORD_SERVER0 | DataPower credentials - password. | |
DP_CERTIFICATE_SERVER0 | DataPower Crypto Certificate that contains the public key to be used in encrypting the secure backup. The object should be preconfigured in the default domain. | SB_Cert |
INCLUDE_ISCSI | Whether to back up the ISCSI device. | on | off |
INCLUDE_RAID | Whether to back up the RAID device. | on | off |
DESTINATION | A directory to place the multiple files that comprise the backup. | temporary:/// | local:/// |
ADD_TO_GIT | Whether to push the backup files to a git repository. | true | false |
GIT_REMOTE_NAME | Git repository remote name. | origin |
GIT_BRANCH_NAME | Git branch name. | main |
-
Duplicate the provided project configuration template and fill it out.
-
One configuration file per one DataPower gateway.
-
Run the automation script passing the configuration file as an argument. For example:
./01-secure-backup.sh dp1.conf