Disk imaging

What are we doing for disk imaging theses days?

28 points · 23 comments · view on lemmy.world

23 Comments

Deckweiss@lemmy.world · 20 pts · 2y (2 replies)

dd ?

mbirth@lemmy.mbirth.uk · 9 pts · 2y

Rather use dd_rescue as it’ll retry if it encounters any reading issue.

LostXOR@fedia.io · 8 pts · 2y
[ removed ]
palordrolap@kbin.social · 11 pts · 2y

Ones I have used: GNOME Disks' create and restore image features. Possibly Mint's mintstick for writing a distro's .iso out to a USB stick. I am not too sure on that.

I assume old-school dd still works as well, which might be a better option for scripted backups or minimal systems.

bloodfart@lemmy.ml · 10 pts · 2y

Ddeez nuts

lemmyreader@lemmy.ml · 9 pts · 2y (3 replies)

Clonezilla and Rescuezilla The Clonezilla method takes a bit time to get used to (but I like it). Rescuezilla comes with a GUI.

Cyber@feddit.uk · 4 pts · 2y

Clonezilla has been my goto backup / restore solution for years. I've used it on everything from RaspberryPi SD Cards to a Dell Poweredge server with PERC RAID controller (because some fool setup the wrong RAID parameters).

I didn't know about Rescuezilla though... so thanks for that.

kylian0087@lemmy.dbzer0.com · 2 pts · 2y (1 reply)

To add to this. Take a look at the fog server project. It allows you to PXE boot and pull and push images in a automated way.

lemmyreader@lemmy.ml · 5 pts · 2y

Take a look at the fog server project.

Thanks. https://fogproject.org

Strit@lemmy.linuxuserspace.show · 4 pts · 2y

DD is the best for 1-1 copying, but I like to use CloneZilla, because it can compress and encrypt the images.

FQQD@lemmy.ohaa.xyz · 4 pts · 2y (3 replies)

Gnome disk utility.

possiblylinux127@lemmy.zip · 2 pts · 2y

It crashes for me when I try to write a image

null@slrpnk.net · 2 pts · 2y (1 reply)

I like it so much I have it on my KDE boxes too.

meekah@lemmy.world · 1 pts · 2y

Yeah I just started using Linux half a year ago and tried a few distros and DEs, but GNOME "disks" is just the easiest way to set up auto mounting and is available on any package manager I came across so far.

Gnugit@aussie.zone · 3 pts · 2y (2 replies)

After learning how to install medicat i discovered ventoy. With ventoy you can copy and paste how ever many bootable iso files you like into it and run them all from the same drive/partition from a selectable boot menu. It's amazing, I won't be using dd anymore for boot disks.

linuxPIPEpower@discuss.tchncs.de · 5 pts · 2y (1 reply)

Careful where you point that thing. I unintentionally disrupted someone's life by introducing them to ventoy. Now they have been distrohopping like crazy because of how easy it is.

lemmyreader@lemmy.ml · 3 pts · 2y

😀

possiblylinux127@lemmy.zip · 2 pts · 2y

The native tools

rotopenguin@infosec.pub · 2 pts · 2y

pv. It's just cat, with a progress meter.

g_damian@lemmy.world · 2 pts · 2y

I use FSArchiver. There's nice list on Archwiki.

michel@friend.ketterle.ch · 1 pts · 2y

@uhmbah
I use gnome-disks.
Then according to this german article:
gnulinux.ch/raw-images-verklei…
I reduce the images Partition to the smallest possible.
edit it's content with kpartx and remove cache, tmp and trashbin
and reduce the disk and image size with pishrink.

github.com/opensvc/multipath-t…
github.com/Drewsif/PiShrink

MonkderDritte@feddit.de · 1 pts · 2y

cp.

moonpiedumplings@programming.dev · 1 pts · 2y

Ventoy. I love it so much, being able to have more than one bootable iso and storage on a usb.

Although, it is slower to boot the more folders you have, since it scans all folders, but this is configurable

I use nix-shell to get the ventoy cli for when I need to install it to a usb stick.

Para_lyzed@lemmy.world · 1 pts · 2y

Just to throw another option out there, partclone will only copy data that is being used in a partition, without all the empty space. I don't believe it helps for encrypted partitions, but you could always just image the unencrypted filesystem with partclone to a drive with full disk encryption to work around that (and still prevent storing data unencrypted). Saves a lot of space.

Also, in the context of backups, I often prefer to use btrfs send to create and update backups through snapshots quickly and efficiently instead of imaging (though of course that requires you to use btrfs). Full imaging is pretty inefficient for my needs, and takes a lot of time.