Comment on Docker Backup Stratagy
MangoPenguin@lemmy.blahaj.zone 4 days ago
I just back up all the directories and docker-compose files using Restic (via Backrest) stored on Backblaze B2, and also the whole Docker LXC via Proxmox’s backup function to a local HDD.
There’s a chance some databases could be backed up in an unusable state, but I keep like 30-50 snapshots going back months, so I figure if the latest one has a bad DB backup, I could go back another day and try that one.
I also don’t really have irreplaceable data stored in DBs, stuff like Immich has data in a DB but the photos themselves are just on the filesystem.
For testing Restic I clone a debian VM and pull the important parts of the backups, and docker compose up -d
the important stacks to test them.
Proxmox backup is really easy to test, as it just restores the whole LXC with a new ID and IP that I can test out.