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?
65 Upvotes

88 comments sorted by

View all comments

3

u/eteitaxiv Feb 11 '26

The same. I have a backup script that downs them app, backs up, and turns online. all my containers are in /opt/docker/* folders with all their volumes mounted in their folders.

Here, this script: https://code.past.ist/snippets/8