Updated on 2024-11-29 GMT+08:00

MRS Backup Failure

Issue

MRS backup keeps failing.

Symptom

MRS backup keeps failing.

Cause Analysis

The backup directory is connected to the system disk using a soft link. As a result, if the system disk is full, the backup fails.

Procedure

  1. Check whether the backup directory is connected to the system disk using a soft disk.

    1. Log in to the active and standby Master nodes in the cluster as user root.
    2. Run the df -h command to check the storage usage of the system disk.
    3. Run the ll /srv/BigData/LocalBackup command to check whether the backup directory is connected to /opt/Bigdata/LocalBackup using a soft link.

      Check whether the backup file is connected to the system disk using a soft link and whether the system disk has sufficient space. If the soft link is used for connecting to the system disk and the system disk space is insufficient, go to 2. If the soft link is not used, the failure is not caused by insufficient system disk space. Contact technical support for troubleshooting.

  2. Move historical backup data to a new directory on the data disk.

    1. Log in to the Master node as user root.
    2. Run the su - omm command to switch to user omm.
    3. Run the rm -rf /srv/BigData/LocalBackup command to delete the soft link of the backup directory.
    4. Run the mkdir -p /srv/BigData/LocalBackup command to create a backup directory.
    5. Run the mv /opt/Bigdata/LocalBackup/* /srv/BigData/LocalBackup/ command to move the historical backup data to the new directory.