If that’s the main downside to a full-system backup, I might go ahead and try it. I’ll check out Backrest too. Looks great!
Comment on Backups: Am I doing this right?
MangoPenguin@lemmy.blahaj.zone 1 month ago
Then I started reading about backing up databases, and it seems you can’t just back up the data directory (or file in the case of SQLite) and call it good. You need to dump them first and backup the dumps.
You can just back up the data directory, that works fine for selfhosted stuff generally because we don’t have tons of users writing to the database constantly.
If you back up /var/lib/docker/volumes
, your docker-compose files for each service, and any other bind mount directories you use, then restoring is as easy as pulling all the data back to the new system and running docker compose up -d
on each service.
RadDevon@lemmy.zip 1 month ago
MangoPenguin@lemmy.blahaj.zone 1 month ago
Yeah there are plenty of advantages of a full system backup, like not having to worry that you’re backing up all the specific directories needed.
Personally I do both, I have a full system backup to local storage, and then to Backblaze B2 using Restic I backup only the really important stuff.
Shimitar@downonthestreet.eu 1 month ago
Second rest and backrest!