Hi Everyone

I need some help

I’m currently selfhosting some of my applications on Digital Ocean and i run a container using Portainer CE. I was wondering how you guys keep backups for the applications running on docker.

I’m currently using Digital ocean’s snapshots feature but is there a better way i could use, any help on this is highly appreciated.

1 point

For databases and data I use restic-compose-backup because you can use labels in your docker compose files.

For config files I use a git repository.

permalink
report
reply
1 point

On Proxmox i use for my Backup Solution - Hetzner Storage Bix

permalink
report
reply
1 point

I have bind mounts to nfs shares that are backed my zfs pools and last snapshots and sync jobs to another storage device. All containers are ephemeral.

permalink
report
reply
1 point

I use Nautical. It will stop your containers before performing an RSYNC backup.

permalink
report
reply
1 point

When backing up Docker volumes, should not the docker container be stopped first.?? I can’t se any support for that in the backup tools mentioned.

permalink
report
reply
1 point

Yes the containers do need to be stopped. I actually built a project that does exactly that.

permalink
report
parent
reply
1 point

Thanks, I will look into this.

permalink
report
parent
reply

Self-Hosted Main

!main@selfhosted.forum

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

For Example

  • Service: Dropbox - Alternative: Nextcloud
  • Service: Google Reader - Alternative: Tiny Tiny RSS
  • Service: Blogger - Alternative: WordPress

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

Community stats

  • 14

    Monthly active users

  • 1.8K

    Posts

  • 11K

    Comments

Community moderators