Restoring the Maximo Manage namespace in Red Hat® OpenShift®

You can restore your backed up Maximo® Manage namespace manually or by using the manage-backup-restore.sh script.

Before you begin

  • Before you restore the Maximo Manage namespace, you must restore the Maximo Application Suite core namespace.
  • Get the script manage-backup-restore.sh.

Procedure

  • To restore manually, use the oc cli command to restore the resources that you backed up.
    The command applies the configuration that is specified in the file that is provided. Run the command for each *.yaml file that you created when you did the backup.
    oc apply -f <filename>

    When you restore the Maximo Manage namespace, you must apply the YAML backup of the {instanceId}-{workspaceId}-cert-public-81 secret.

  • To restore the Maximo Manage namespace by using the manage-backup-restore.sh script, run the following command.
    manage-backup-restore.sh -w <mas-workspace-id> -i <MAS_INSTANCE_ID> -f <BACKUP_FOLDER> -m restore
    manage-backup-restore.sh -w <mas-workspace-id> -i dev -f ./ -m restore
    -w, --mas-workspace-id
    The Maximo Manage workspace ID where the information is restored to.
    -i, --mas-instance-id
    The Maximo Application Suite instance ID where the information is restored to.
    -f, --backup-folder
    The folder where the backup artifacts are read from.
    -m, --mode
    Indicates whether to backup or restore. Use the value restore.
    The script runs the oc apply command on all the *.yaml files in a specified folder, which restores the files.