Partclone: Without Compression
Partclone: Without Compression
https://wiki.archlinux.org/index.php/Partclone 1/2
Partclone
FromArchWiki
Partclone(http://partclone.org),likethewellknownPartimage(http://www.partimage.org/Main_Page),canbe
usedtobackupandrestoreapartitionwhileconsideringonlyusedblocks.
Contents
1Installation
2UsingPartclonewithanext4formattedpartition
2.1Withoutcompression
2.2Withcompression
Installation
Installpartclone (https://www.archlinux.org/packages/?name=partclone)fromtheofficial
repositories.
UsingPartclonewithanext4formattedpartition
Withoutcompression
Tobackupwithoutcompression:
$ partclone.ext4 -c -s /dev/sda1 -o ~/image_sda1.pcl
Torestoreit:
$ partclone.ext4 -r -s ~/image_sda1.pcl -o /dev/sda1
Withcompression
Tobackupwithcompression:
$ partclone.ext4 -c -s /dev/sda1 | gzip -c > ~/image_sda1.pcl.gz
8/16/14 Partclone - ArchWiki
https://wiki.archlinux.org/index.php/Partclone 2/2
Note:Formaximumcompressionuse"gzipc9"
Torestoreit:
zcat ~/image_sda1.pcl.gz | partclone.ext4 -r -o /dev/sda1
Retrievedfrom"https://wiki.archlinux.org/index.php?title=Partclone&oldid=325258"
Category: Filesystems
Thispagewaslastmodifiedon15July2014,at21:45.
ContentisavailableunderGNUFreeDocumentationLicense1.3orlaterunlessotherwisenoted.