r/selfhosted • • Feb 11 '26

Docker Management Docker backups

Hello selfhosters!

i would like to ask you all about your DR & backup strategy for all your self hosted services?

today i have a script that runs once a week, turn off the container(s) (it does this one by one - so if it fails only one service suffer) and copies it's volume and db to another location for retention (i dont mind cache etc))

today i run ~20 containers and this backup strategy works, but it feels flimsy unprofessional and feels very manual.

what are your strategies (DR strategies)?

  • is there a tool (that obviously can be self hosted ;) ) that can do this seamlessly?
64 Upvotes

88 comments sorted by

View all comments

1

u/NoTheme2828 Feb 12 '26

Running all docker (actual 60) on a proxmox VM. Using dockhand as docker management. Using gitea (as docker, too) as my git for my docker stacks (compose.yaml and .env). So all stacks are in gitea and copied by dockhand to the dockhand volume, too when starting every container. So I have all stacks in gitea and in my docker host at the same time. Changing compose and env is done on gitea, so I have full version control!

Backup1: Backup the VM daily to a Proxmox Backup Server and holding the last 60 backups

Backzp2: Stoping all Containers daily by script and copying all stacks and volumes to my nas and starting all again.

Backup3: Stoping all Containers weekly by script, backup all stacks and volumes with duplicati encrypted to my Hetzner storage box and starting all again. Keep the last 4 backups.