Back up your data

You need to back up data regularly to avoid data loss. It is also recommended to take backups before you start troubleshooting. IBM Storage Scale provides various options to create data backups.

The following best practices help you to troubleshoot the issues that might arise in the data backup process:
  1. Enable the most useful messages in the mmbackup command by setting the MMBACKUP_PROGRESS_CONTENT and MMBACKUP_PROGRESS_INTERVAL environment variables in the command environment prior to issuing the mmbackup command. Setting MMBACKUP_PROGRESS_CONTENT=7 provides the most useful messages. For more information on these variables, see the mmbackup command .
  2. If the mmbackup process is failing regularly, enable debug options in the backup process:

    Use the DEBUGmmbackup environment variable or the -d option that is available in the mmbackup command to enable debugging features. This variable controls what debugging features are enabled. It is interpreted as a bitmask with the following bit meanings:

    0x001
    Specifies that basic debug messages are printed to STDOUT. There are multiple components that comprise mmbackup, so the debug message prefixes can vary. Some examples include:
    mmbackup:mbackup.sh
    DEBUGtsbackup33:
    0x002
    Specifies that temporary files are to be preserved for later analysis.
    0x004
    Specifies that all dsmc command output is to be mirrored to STDOUT.

    The -d option in the mmbackup command line is equivalent to DEBUGmmbackup=1 .

  3. To troubleshoot problems with backup subtask execution, enable debugging in the tsbuhelper program.

    Use the DEBUGtsbuhelper environment variable to enable debugging features in the mmbackup helper program tsbuhelper.