Re: EIS 64 , Rescue und Image Sicherung

Stefan Puschek <[email protected]>
Newsgroups spline.eisfair.dev
Organization spline
Message-ID <[email protected]>
Hi @ all,

> Ulrich wrote:
> >> Feststellen, welche Device Original (Annahme: sda) und Ziel
> >> (Annahme: sdb) sind
> >>
> >> dd if=/sda of=/dev/sdb ps=16M status=progress
> 
> Da habe ich das Verzeichnis dev unterschlagen und einen Typo drin:
> 
> dd if=/dev/sda of=/dev/sdb bs=16M status=progress

das sieht gut aus - theoretisch...

aber das ist kein Image - das wird ein Klon der Orginal-Platte

Ausserdem werden ALLE Sektoren der Platte gesichert, auch die
unbelegten.

Genau dafür gibts partclone, damit werden nur die belegten Sektoren
einer Partition gesichert - und wenn man will kann man auch
komprimieren.

Beispiel:

partclone.ext4 -s /dev/"$DEVICE"1 -o - -c --logfile
$DESTDIR/p1.root.create.log | pigz -6 -c >$DESTDIR/p1.root.gz

sichert die erste Partition (ext4) komprimiert in p1.root.gz

Groetjes
Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.