↳
In-reply-to
»
I need to fully automate my backup/recovery process. I use restic as my primary backup/recovery tool and documented a process for Docker volume backup and restore with restic which I also use to backup Docker local volumes (unfortuantely requires small amounts of downtime per service) -- There is also this nice tool called auto-restic which I haven't gotten around to using yet, which I thinik will help with automating. Right now I still kick the process of by-hand, whenever I feel I should probably do another backup 🤦♂️
⤋ Read More
Woohoo 🥳 Finally fixed the remaining bugs in my set of shell scripts for backing up Docker volumes:
https://git.mills.io/prologic/backup-docker-volumes
Has the behavior of:
- Given a Docker node;
- Find all active volumes.
- For each volume, find its running container or service,
- Stop the Container or scale down the Service.
- Run the backup on the volume
- Restart the Container or scale up the Service.