Backups

Persistent data is placed in encrypted volumes otherwise it may be deleted at any moment, when the host fails. A daily backup of all volumes is done by the host in the backup-service-group group. Exactly one host must be set in the ~/.enough/example.com/inventory/services.yml file, like so:

backup-service-group:
  hosts:
    bind-host:

The number of backups is defined with the backup_retention_days variable as documented in this file and can be set in ~/.enough/example.com/inventory/group_vars/backup-service-group.yml like so:

---
backup_retention_days: 7

Note

If the quota for volume snapshots displayed by enough –domain example.com quota show is too low, a support ticket should be opened with the cloud provider to increase it.

A volume backup can be used to restore a service in the state it was at the time of the backup.

The volumes are replicated three times and their data cannot be lost because of a hardware failure.