this post was submitted on 27 May 2024
457 points (95.8% liked)

Linux

48039 readers
752 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 5 months ago (1 children)

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.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (2 children)

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.

[–] [email protected] 6 points 5 months ago

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.

[–] [email protected] 3 points 5 months ago

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