this post was submitted on 23 Nov 2023
5 points (100.0% liked)

Self-Hosted Main

515 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
 

I bought a second hand NUC to have a little more horsepower to run various services. I have it connected to my NAS, but almost all of the docker volumes reside on the SSD in the NUC.

It would be nice to be able to backup those volumes to my NAS in case the NUC fails. I have Debian 12 running on it.

What are my options ? Should I just backup my docker volumes or does it make more sense to backup the entire NUC ? (I'm less tech savvy then I might appear. Please be generous with your explanation, I still have a lot to learn)

you are viewing a single comment's thread
view the rest of the comments
[–] Big-Finding2976@alien.top 1 points 11 months ago (1 children)

Some people would say that you're doing something wrong by using Duplicati, because they've had problems restoring data and it's very slow, so if you've never had to restore data before you should test that to check that it works, and maybe switch to something else like Borg to be safe.

Also, backing up the folder without stopping the containers first might result in any backed up databases being corrupt, so if you're running anything that uses databases, you should stop those containers before backing up the folder.

[–] CactusBoyScout@alien.top 1 points 11 months ago (1 children)

How would you automate the stopping of the containers?

[–] Big-Finding2976@alien.top 1 points 11 months ago

I'm not sure, but I think you'd just need to create a script which stops them, runs the backup, and then restarts them.