I use rsync with an offsite backup.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I don't know if it's a smart solution but I have a HDD in my server that is used just for backups, each night I have rsync automatically moving stuff from multiple locations that I want to back up onto the drive. After that is done I have Kopia backup to B2, with compression, deduplication and encryption. I use healthchecks.io as well to alert me if any of the steps fails to complete (but none of the steps block each other).
For containers (but I use k3s) I use git to store helmfiles and configuration, secrets in ci/cd system.
For the rest - I use autorestic that backups data over ssh and S3.
Duplicati. Works like a charm. Supports practically every backend (S3, backblaze, one drive, Google, storj, sia, even Tahoe!
A lot of services have some kind of way to create backup files. I have cronjobs doing that daily then uploading it to some cloud storage with rclone.
ZFS send to a pair of mirrored HDDs on the same machine ever hour and a daily restic backup to S3 storage. Every six months I test and verify the cloud backup.
my solution is syncthing
I have an old synology DS1513+
it runs Active Backup for business and Active backup for google workspace, as well as an AFP share for Apple machines. This is about 95% of all backups. Those backup archive files are then ALSO backed up to one of two large 14TB hdds. I swap them out monthly (or thereabout) and keep the spare at my office or in my firesafe when at home.
I have a couple other things out there too. A small SSh box to handle some scripting of config file backups etc. My main synology 1815+ also has a cloud sync up to backblaze that happens in realtime, but only keeps 1 copy of stuff as well as a hyperbackup job for super important stuff up to Backblaze, in addition to the nightly backups to the 1513+. This way if my house burns down I still have something (and likely a full copy with the 14TB HDD)
I've been using Restic for a while, and it's backing up to a Hetzner storage box (1TB).
Restic supports encryption, compression, deduplication, and can forget old backups in a spread out timeline (configurable; e.g. save one yearly, three monthly and 7 daily).
On top of this I also use healthchecks.io to make sure all backups are working.
Rsync custom script. I am connecting two different hard disks (1 natively + 1 remotely via ssh) to backup the disk.
1 tine per month, U unplug ny microsd fro my Raspberry Pi 4 Server and I am making a full backup of the sd in case it fails, to restore it to a new sd card.
Encrypted backup to google drive weekly from unraid, planning to get a NAS for another backup location
raid1 + data duplication
Photos, videos, music, documents, etc.. are available on multiple devices using SyncThing.