Closed nswarner closed 3 years ago
One volume per mud, easier to segregate, backup, and restore. Volume mounted as /{MUD}/player, works as expected.
S3 backup procedure thoughts;
/usr/lib/docker/volumes/
directory, push the archive to S3. Update the Ansible playbook to create the cronjob.Contrast:
While the EC2 snapshot approach would be more holistic, it lacks the granular ability to avoid including secrets and requires just as much setup configuration as the S3 approach. The cost of the EC2 snapshot approach is also more than a 40 times cost increase over the S3 approach.
For the S3 approach:
/usr/lib/docker/volumes/
backupstar -czvf
the /usr/lib/docker/volumes
directory, upload to S3 bucketdate +%Y-%m-%d-docker-volume-backup
-- 2021-04-14-docker-volume-backup
for the naming-date schema
Looks good.
Outstanding questions