Backup failed incidents in Orbit

Prev Next

This document covers the reasons that open the Backup failed incident in Orbit Server Manager and how to solve each one. The incident appears in Orbit Server Manager > Application > Incidents. Each section describes one reason, its cause, and the solution. To learn how the backup check works, see About resource monitoring in Orbit.

The incident message names the node, the tenant, and the reason:

[<hostname>] The last backup did not succeed. Tenant <tenant>: <reason>

Use the reason to find the matching section in this document. The same reason also appears in the backup log, as an ERROR line. For details, see Backup Logs.

Info

The incident is closed only after the next backup of the affected tenant succeeds. After you fix the cause, run a backup with sudo orbit backup create or wait for the next scheduled backup.

"The remote backup partition is not mounted"

The incident reason starts with:

"The remote backup partition is not mounted (the destination is on the local ext4 filesystem)"

The type at the end of the message can differ, for example xfs or tmpfs.

Cause

When the backup sends files to a remote partition (CIFS or NFS), it checks before each copy that the destination is on a mounted remote partition. If the partition is not mounted, for example because the file server was unavailable and the partition was unmounted, the backup does not copy any file. The database dumps stay in the local staging area of the appliance and keep their normal rotation.

Solution

  1. Make sure the file server is running and reachable from the appliance.
  2. Check the partition with the following command:
    sudo orbit partition --show
    
  3. Mount the partition again with the following command:
    sudo orbit partition --remount
    
    If the partition is configured but cannot be mounted, check the settings in Orbit Server Manager > Settings > Backup. For details, see How to configure remote partitions.
  4. Run a backup:
    sudo orbit backup create
    

The backup copies the dumps and session recordings to the partition, and the incident is closed in the next check.

"The remote backup partition did not answer"

The incident reason starts with "The remote backup partition did not answer" and tells you to check the partition with orbit partition --show and mount it again with orbit partition --remount.

Cause

The partition is still mounted, but the file server does not answer. This happens when the file server is down or overloaded, or when the shared directory was deleted and created again on the server. In the last case, commands such as ls /srv/backup_remoto on the appliance return Stale file handle.

The backup waits up to 30 seconds for the partition and then stops without copying files, so it does not hang.

Solution

  1. Make sure the file server is running and the shared directory exists.
  2. Mount the partition again with the following command:
    sudo orbit partition --remount
    
    The command unmounts the partition and mounts it again. It reports success only when the partition answers.
  3. Run a backup:
    sudo orbit backup create
    

When the file server answers again, Orbit also mounts the partition again on its own.

"Host key verification failed"

The backup to a remote Linux server via Rsync fails, and the backup log shows "Host key verification failed".

Cause

The backup connects to the remote Linux server without user interaction. If the appliance does not know the server's host key, or if the key changed, the connection fails instead of asking for confirmation. This happens, for example, after you configure a new server or after the server is reinstalled.

Solution

  1. Start an SSH session on the Segura™ server as the user mt4adm using port 59022.
  2. Run sudo ssh <backup_user@server>, using the user and server set for the Rsync backup.
  3. When SSH asks whether you want to continue connecting, type yes.
  4. Run a backup with sudo orbit backup create.

If the host key of the server changed, trust the new key the same way. For details, see How to mount a backup partition via Rsync.

"The destination holds the previous dumps"

The incident reason ends with "…the destination holds the previous dumps."

Cause

The dump of at least one database failed. For example, the backup settings of a tenant list a database that does not exist. The backup keeps only complete dumps, so it does not store a partial dump of that database. The other databases and the session recordings are still copied, and the destination keeps the last good dump of the database that failed.

Solution

  1. Open the backup log and find the DB ERROR line. It names the tenant and the database whose dump failed. For details, see Backup Logs.
  2. Fix the cause shown in the log. If the database does not exist or should not be backed up, save the backup settings again in Orbit Server Manager > Settings > Backup.
  3. Run a backup:
    sudo orbit backup create
    

"None has run since"

The incident reason reads "the last backup ran at and none has run since."

Cause

No backup of the tenant has completed in the last 48 hours. Possible causes:

  • Another backup was still running at the scheduled time. Only one backup runs at a time on the appliance. The scheduled backup waits up to one hour for the running one to finish, and then gives up. In this case, the backup log shows "No backup ran: another backup is already running on this appliance (…)".
  • The backup is scheduled for an hour other than the one you expect.
  • The backup is disabled or cannot start on the appliance.

Solution

  1. Check the backup log for "No backup ran" or other ERROR lines. For details, see Backup Logs.
  2. Check the hour of the daily backup with the following command:
    sudo orbit backup time --show
    
    To change it, see How to configure backup.
  3. Run a backup:
    sudo orbit backup create
    
    If another backup is running, the command refuses to start and names the backup that is running. Wait for it to finish and try again.

If no backup runs after these steps, contact Segura™ support.

"The file backup mode … is no longer supported"

The backup fails, and the backup log shows a message like:

"The file backup mode TAR-INC is no longer supported. Save the backup settings in Orbit again."

Cause

The backup configuration of the appliance uses a file backup mode that was removed, such as TAR-FULL, TAR-INC, SCP, or FTP, or other values that Orbit Server Manager does not write. The backup only runs with the settings that Orbit saves.

Solution

  1. Go to Orbit Server Manager > Settings > Backup.
  2. Review the backup settings and save them.
  3. Run a backup:
    sudo orbit backup create
    

Backup files of a node are missing from the destination

In a cluster, the backup files of one node disappear from the destination folder, even though the backup of that node succeeded.

Cause

Each node of a cluster runs its own backup and keeps the destination folder identical to its own backup files. When nodes share the same destination folder, each node's backup overwrites or removes the files of the other nodes.

Solution

Configure a separate destination folder for each node, either a different Remote path for a CIFS or NFS partition or a different directory on the Rsync server. For details, see How to mount a backup partition via CIFS or NFS or How to mount a backup partition via Rsync.

For more information