Debugging backed up and restored resources

In IBM® Storage Fusion, you can debug by obtaining the backup or restore recipe log information and a list of the resources that were backed up or restored.

Procedure

  1. Download the getRecipeWorkflow.sh shell script from the IBM Storage Fusion repository.
  2. Obtain the job uid for the backup or restore job by using either the IBM Storage Fusion user interface or from the command line.
    Method Steps
    IBM Storage Fusion user interface
    1. From the left navigation panel, select the Applications tab.
    2. From the table, select the wanted application.
    3. Select the Backups tab.
    4. On the wanted backup, select the menu and click Details.
    5. Click the hyperlink of the job name.

      For example, filebrowser-demo-daily-apps.spparch.spp-ocp.tuc.stglabs.ibm.com-202311220800

    6. Note the Job ID in the details panel.

      For example, 63eb6ea5-dc24-41ef-9fb7-199c48df1508

    Command line
    1. Open the YAML file for the wanted IBM Storage Fusionbackup CR.
      For example,
      oc get fbackup
      filebrowser-demo-daily-apps.spparch.spp-ocp.tuc.stglabs.ibm.com-202311220800 -n
      ibm-spectrum-fusion-ns -o yaml
    2. Locate the uid field in the spec: metadata.

      For example, uid: 63eb6ea5-dc24-41ef-9fb7-199c48df1508

    3. Run the getRecipeWorkflow.sh shell script with the job uid.
      For example,
      getRecipeWorkflow.sh backup 63eb6ea5-dc24-41ef-9fb7-199c48df1508
  3. Get a list of the resources that were backed up or restored.
    1. Download the getResources.sh shell script from the IBM Storage Fusion Git repository.
    2. Obtain the job uid for the backup or restore job as indicated in the previous steps.
    3. Run the getResources.sh shell script with the job uid.
      getResources.sh
      backup 63eb6ea5-dc24-41ef-9fb7-199c48df1508

What to do next

Information about protecting the backup and restore service can be found in the service protection section of the IBM Storage Fusion documentation. For more information, see Data protection.