Backing up cloud object storage for Maximo Assist

Back up Maximo® Assist data that is stored in cloud object storage only for the disaster recovery scenario.

Before you begin

You need to install Rclone, which is a command-line program to manage files on cloud storage. For more information, see Rclone downloads.

About this task

Maximo Assist stores documents in the cloud object storage that is configured on the Configuration page in Maximo Application Suite. For the disaster recovery scenario, if your source cluster and your target cluster are in different regions and your cloud object storage does not support cross-region data replication, you must manually copy the data between regions. For more information, see Backup and restore scenarios overview.

The method to copy data in cloud object storage depends on the cloud object storage provider. Refer to the cloud object storage provider’s documentation for details.

Procedure

  1. Get the access information for the cloud object storage.
    1. Get the URL.
      oc get secret ${MAS_INSTANCE_ID}-objectstorage-secret -n mas-${MAS_INSTANCE_ID}-assist -o yaml | yq .data.url | base64 --decode
    2. Get the access key.
      oc get secret ${MAS_INSTANCE_ID}-objectstorage-secret -n mas-${MAS_INSTANCE_ID}-assist -o yaml | yq .data.username | base64 --decode
    3. Get the access secret.
      oc get secret ${MAS_INSTANCE_ID}-objectstorage-secret -n mas-${MAS_INSTANCE_ID}-assist -o yaml | yq .data.password | base64 --decode
  2. Configure the Rclone tool.
    • For an on-premises deployment, the default Maximo Assist installation uses Red Hat® OpenShift® Ceph® object storage. For more information, see Ceph.
    • For an IBM Cloud® deployment, you can use IBM Cloud Object Storage. For more information, see IBM Cloud Object Storage.
    • For an Amazon Web Services cloud deployment, you can use AWS S3. For more information, see s3 configuration for the AWS S3 provider.

    When you set up Rclone connection for the cloud object storage provider, you specify a configuration name. Provide this configuration name in the Rclone command for connecting to the cloud object storage.

  3. Download the data from cloud object storage.
    1. List the buckets.
      rclone lsf --no-check-certificate ${RCLONE_CFG_NAME}
    2. Download the data into a bucket.
      rclone copy --no-check-certificate --progress ${RCLONE_CFG_NAME}:${COS_BUCKET_NAME} /tmp/assist-cos/${COS_BUCKET_NAME}