This project provides a simple, dockerized backup solution for homelab or self-hosted services using Docker Compose.
It is designed to:
- π Automatically back up entire service folders
- π Encrypt the backups using GPG (AES-256, password-based)
- βοΈ Upload the encrypted archive to any rclone-compatible remote (Google Drive, S3, WebDAV, etc.)
- π³ Run
rclonevia Docker β no installation needed - π§© Be fully configurable
- π Schedule daily backup via
cron
This tool is built for:
- π‘ Homelab users
- π³ Docker Compose projects
- πΎ Anyone who needs secure and simple full-directory backups
- Without the need for backup software like restic or duplicacy
git clone https://github.com/ysya/simple-backup.git
cd simple-backupcp .env.example .env
vim .envchmod +x setup.sh backup.sh
./setup.sh- Compresses
$SERVICE_PATHinto a .tgz file - Encrypts it with GPG using
ENCRYPT_PASSWORD - Uploads it to
$RCLONE_REMOTE:$REMOTE_FOLDERusing Dockerized rclone - Keeps only the last 30 days of backups
- Schedules a cron job to run
./backup.sh