this post was submitted on 25 Jul 2023
190 points (98.0% liked)

Linux

48655 readers
691 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm trying to find a good method of making periodic, incremental backups. I assume that the most minimal approach would be to have a Cronjob run rsync periodically, but I'm curious what other solutions may exist.

I'm interested in both command-line, and GUI solutions.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

I run ZFS on my servers and then replicate to other ZFS servers with Syncoid.

[–] [email protected] 3 points 1 year ago (1 children)

Just keep in mind that a replica is not a backup.

If you lose or corrupt a file and you don't find out for a few months, it's gone on the replicas too.

[–] [email protected] 1 points 1 year ago

Correct! I have Sanoid take daily and monthly snapshots on the source server, which replicate to the destination. Every now and then, I run a diff between the last known-good monthly snapshot and the most recent one which has been replicated to the destination. If I am happy with what files have changed, I delete the previous known-good snapshot and the one I diff’d becomes the new known-good. That helps keep me safe from ransomware on the source. The destination pulls from the source to prevent the source from tampering with the backup. Also helps when you’re running low on storage.