You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • MadMakz

    Super Moderator

    You have to register first, to connect to this user.


LVM Image Backup und Restore mit pbzip2


by MadMakz, Monday, January 14th 2013, 10:55am

Vorteil von pbzip2: Multicore Unterstützung.

An pbzip2 wird mittels dem -p Switch definiert wieviele CPU-Kerne benutzt werden dürfen. In dem Beispiel sind es zwei (-p2).


Source code

nohup dd if=/dev/<LVM Gruppe>/<LVM Disk> bs=512K | pbzip2 -p2 -9 > <Backupname>.bz2 &


Source code

nohup pbzip2 -p2 -dcf <Backupname>.bz2 | dd of=/dev/mapper/<LVM Disk in welche das Backup gespielt werden soll> &…ore-mit-pbzip2/

This article has been read 106,500 times.

Tags: Backup, howto, kvm, Linux, lvm, pbzip2, restore

Comments (1)

  • 1

    by DeaD_EyE (Sunday, August 25th 2013, 3:28am)

    Leider ist es inkompatibel zur alten bzip2-Version. Hatte das mal mit dem Fastdl probiert. Der Client konnte die Dateien dann leider nicht entpacken.

Blog navigation

Next article

SSLgen 0.5

by MadMakz (Saturday, February 23rd 2013, 6:54pm)

Previous article

"High-Load" >ksoftirqd< auf Debian Squeeze

by MadMakz (Thursday, September 27th 2012, 2:05am)