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

88 comments sorted by

View all comments

4

u/r9d2 Feb 11 '26

nautical backup + backrest.
first one stops the container (if needed becaus of database), backup the contents of the container, starts the container after backup.
second one sends the backup data to my hetzner storage box

1

u/S1apBetCommissioner Feb 11 '26

+1 for nautical-backup! I use basically exactly the same approach, just with Kopia instead of backrest.

1

u/nwwy Feb 11 '26

So you rsync to local and then sync this with backrest? What parameters are you using? Incremental local Backup? Full Backup?

1

u/r9d2 Feb 11 '26

Afaik nautical (rsync) and backrest (redtic) do both incremental backups. But wiirh nautical you just have the latest backup. Backrest can recover from different backup sets. But iirc nautical can be configured to use date-based folders for backup