this post was submitted on 27 May 2024
457 points (95.8% liked)
Linux
48212 readers
2073 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 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you're running btrfs, you can send live snapshots to another btrfs volume on another drive, or use Timeshift which will do it for you amd keep track of expiring old copies. Clonezilla is OK for when you are able to take the system down entirely.
My install does use btrfs (but unfortunately since I reused the other drives they are still ntfs formatted) and it does regular snapshots, but to the same drive. It isn't completely borked yet so I'm hopeful I can "clone" to a new drive and rma the bad one (10 months old so should still have mfr warranty). I've used clonezilla in the past but had read it doesn't support btrfs, maybe that info is outdated? I did see some promising tools for doing basically the same job through btrfs though. I planned to work on salvaging what I can tonight. Worst case scenario, all my personal files are synced to a cloud storage service so I'd just be out installed programs and configs if I have to reinstall from fresh.
Do a block copy, takes longer but it should handle pretty Mich any filesystem. Downside is I don't think you resize on the target.
You could also put the new drive in, target Time shift to it and let it buck. Then pull your old drive out and let it boor to the new one, see how that goes.
Clonezilla, last I checked like a decade ago, can do a block by block copy and save an entire disk as an image. If it doesn't support btrfs, I assume that just means for things like reading and writing a disk image backup, not the disk/block device itself