this post was submitted on 15 Jun 2025
41 points (100.0% liked)
Linux
55294 readers
1758 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've had this idea a few times over the years, but I always get stuck at figuring out: what is it actually I want to happen? If I remove a local file, should it be removed from the backup too? If I edit a file, should the newer version replace the old in the backup, or be saved separately, or just the delta between the files? I could never decide what I wanted.
Not that I have it all figured out, but it sounds like it would help to decouple backup from sync. I have syncthing keep a two-way sync, including deletes, but have syncthing's trash as a "backup" (items deleted after n-days) on each device in case I accidentally delete something. Then I have a nightly, encrypted backups with versions stored offsite (eg borg) which is only meant to be used if there's major failure like a flood or fire. HDD failure is covered by RAID10 NAS. Somewhere in there I have or need a data integrity/hash check, but at least it's a start.
Same. I still haven't figured out so my setup is a horrible mess with nfs, rsync and a bunch of symlinks.. and no structured backup