this post was submitted on 20 Jul 2024
365 points (96.9% liked)
Technology
59427 readers
2839 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Windows 7 was my last windows. Since then it's been Linux on all machines. It was easy to see where Microsoft were going. And they will continue to go down this route.
When you run windows, it's not your computer.
I'm getting tired of Microsoft reading my data. What's you backup strategy on linux?
Not OP but:
Separate the system and home partition, first of all. The strategies are usually different.
Many distros integrate Timeshift out of the box to create system partition snapshots before every update, and to be able to restore them from the boot menu. Using BTRFS for the system partition makes this even better.
This is usually all that people need in regards to the system, but you can also take regular backups (see below) of things like /etc, the list of installed packages and things like that.
For personal files I prefer Borg Backup because it is incremental, does compression, deduplication, encryption, checksums & recovery.
Borg works with repositories, which can be on local disk, on a removable disk, or remote. If remote, they are tunneled over SSH. It can also export/import tarballs for more exotic scenarios like moving snapshots between different repositories or backing up data to optical discs.
You can use Borg from the CLI and there are also UI apps that make it easier. Pika Backup is a simpler one, Vorta is a more advanced one. I've set up family members with Pika and after preparing it for them all they have to do is plug in the backup HDD, open Pika, and hit the big "backup now" button.
There are also online services that support Borg repositories specifically, and for anything that doesn't you can export tarballs and back them up as regular files, completely transparently from the service.
rclone
is a cli tool that supports a large number of online storage services. You can use it with borg snapshots or you can use it to back up your files directly — it resembles rsync somewhat and can also do encryption iirc.There's etckeeper too.
Btw, etc is for system/default settings.