this post was submitted on 13 Jul 2025
82 points (98.8% liked)

Selfhosted

60024 readers
868 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Lots of people have mentioned rsynx, restic, borgbackup, and others, but which would be best for backing up nextcloud, immich, and radicale? Do all of them have a method of automatically backing up every X days/weeks? Why use one over the other, what are the differences?

you are viewing a single comment's thread
view the rest of the comments
[–] Lem453@lemmy.ca 2 points 11 months ago* (last edited 11 months ago)

I use a docker container that uses the MySQL/postgress dump command to create database dumps every hour with a retention policy. The dump is placed into docker data directory.

My docker data directories are in a parent directory on the host.

Borgbackup then runs the backup on this one directory. Like the other reply mentions, this is probably overkill since the database doesn't isn't being written too that intensivley but the resources needed to do this are minimal so its not a big deal once you know how to set it up.

https://github.com/Martlark/pg_dump

https://github.com/fradelg/docker-mysql-cron-backup