Validator Backups

When using a local database we can set up a scheduled backup of the container.

Creating a Backup Schedule

Creating a backup schedule
Figure 1. Creating a backup schedule.

On the validator page select the Schedule button in the Backups section on the validator page.

schedule backup
Figure 2. Creating a backup schedule.

On the Schedule backup page fill the following fields:

  • Cron - Cron expression according to the standard Unix cron syntax

  • Max backup number - the maximum amount of backups to maintain

Before setting a schedule make sure the cluster can accommodate the volumes created by the backups. The cluster should have space available equal to:

(Max backup number + 1) * Validator database volume size

Viewing the backups

On the validator page on the Backups sections select Show history

Backup history
Figure 3. Backup history

Restoring from a backup

On the backups list page select on the actions menu the restore option.

A Restore status indicator will appear with the time the recovery started and the status

Restoring from a backup
Figure 4. Restoring from a backup

When complete the indicator will change to Completed

Complete restore
Figure 5. Complete restore