this post was submitted on 25 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

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

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

founded 1 year ago
MODERATORS
 

โ€‹

Hey - so I am just getting started with self hosting and docker containers.

I have found that I can backup all my containers to this location easily via script https://hub.docker.com/repository/docker

My largest container compressed size in my private repository is 3GB.

I was wondering if backing up to a hub.docker private repository is okay and if there is going to be cost/limitations to doing that?

What are you using for backing up your containers? I noticed people often expressing importance of backups but then not sharing how they are doing their backups and their backup setup.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago

I don't think backing up the container is the right strategy, as containers (I think***) is built for portability. So you can spin one up in seconds, or migrate to another machine with very little hassle.

For me I backup the docker host itself and the docker config files in the volumes with a script. I make the somewhat redundant back up of the config files in addition to the host is because I like to tinker things, and usually nuke something in the process. Having a more frequent backup of the docker configs allows me to easily restore if something goes wrong.