BackupΒΆ
Linux backupΒΆ
To backup our Linux servers, weβre using BorgBackup, resp. borgmatic. This allows us to create remote incremental backups, with storage deduplication.
Backups will be made to the Management server, which is storing the backups to the Synology.
Note
BorgBackup is configured via Ansible, resp. via borg role.
Database backupsΒΆ
Database backups are made with the native database tools (e.g. pgdump
, mysqldump
) directly in the containers.
For that, weβve custom Docker Base images for our databases:
PostgreSQL base image
MariaDB base image
Note
Thereβs usually a custom Docker entrypoint, which triggers the backups on a recurring basis (e.g. hourly with some random delay), and stores them on a dedicated volume such as /backup
.
GitLab backupsΒΆ
GitLab backups are also made directly in the container, in the same fashion as Database backups.
Backup scheduleΒΆ
Check out the Scheduled jobs for the backup schedule.