A tool for performing scheduled database backups and transferring encrypted data to secure clouds.
2.8K
A tool for performing scheduled database backups and transferring encrypted data to secure public clouds, for home labs, hobby projects, etc., in environments such as k8s, docker, vms.
Backups are in zip format using 7-zip, with strong AES-256 encryption under the hood.
Using docker image: rafsaf/backuper:latest, see all tags on dockerhub
Everyday 5am backup of PostgreSQL database defined in the same file and running in docker container.
# docker-compose.yml
services:
db:
image: postgres:15
environment:
- POSTGRES_PASSWORD=pwd
backuper:
image: rafsaf/backuper:latest
environment:
- POSTGRESQL_PG15=host=db password=pwd cron_rule=0 0 5 * * port=5432
- ZIP_ARCHIVE_PASSWORD=change_me
- BACKUP_PROVIDER=name=debug
(NOTE this will use provider debug that store backups locally in the container).
The author actively uses backuper (with GCS) for one production project plemiona-planer.pl postgres database (both PRD and STG) and for bunch of homelab projects including self hosted Firefly III mariadb, Grafana postgres, KeyCloak postgres, Nextcloud postgres and configuration file, Minecraft server files, and two other postgres dbs for some demo projects.
See how it looks for ~2GB size database:

Content type
Image
Digest
sha256:3eb6fff5e…
Size
130.2 MB
Last updated
almost 3 years ago
docker pull rafsaf/backuper