this post was submitted on 20 Mar 2025
302 points (97.8% liked)

Linux

52144 readers
897 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
 

My crippled kernel count is around 6, how about yours?

you are viewing a single comment's thread
view the rest of the comments
[–] dan@upvote.au 2 points 2 days ago (1 children)

Once you break it a few times, you start to understand the value of btrfs or ZFS snapshots.

[–] OhVenus_Baby@lemmy.ml 1 points 3 hours ago (1 children)

What about Rsync. Does it get love? Any snapshot is good if it works. Backups are the shit.

[–] dan@upvote.au 1 points 31 minutes ago* (last edited 31 minutes ago)

Snapshots let you very easily revert back to an older snapshot. They're relatively fast and lightweight.

You should have offsite backups too. Snapshots won't help if your computer catches fire, gets stolen, etc. Rsync is okay, but has a bunch of downsides:

  • It only gives you a single copy.
  • If the source data gets corrupted, the backup copy will also get corrupted.
  • It's not safe from ransomware since the client has full write access to the rsync backup (and thus malicious code could delete the backup).

A backup solution like Borgbackup + borgmatic or restic is a better solution and solves the above issues:

  • You can easily take daily backups - all the data is deduplicated so it won't take much more space (assuming you're not changing every file every day).
  • Multiple backups means that if newer data is corrupted, you can just pull files from an older backup.
  • Borgmatic has an append-only mode that only allows a client to add new data to a backup, and not delete any old data. This prevents the client from being able to erase the backups