|
|
|
|
|
by _cenw
980 days ago
|
|
restic container with all volumes mounted to /backup/<volumename> (and . to /backup/self - use named volumes, not binds) in my composefile with scale 0 and a backup.sh that's essentially docker compose down && docker compose run backup && docker compose up -d The restore procedure is the same, you restore the composefile through restic on the host and then `docker compose run backup restic restore latest --exclude "/data/self/*" --target /` I find it's fast enough because restic is incremental, but if you can set this up on a filesystem with snapshots that would be a great option too. Restic takes a bit of fiddling around too. I mount a prepared ssh config, a known hosts file and a private key. |
|