0% found this document useful (0 votes)
68 views2 pages

Partclone: Without Compression

Partclone is a backup and restore tool that can create disk images of partitions while only backing up used blocks. It supports backing up and restoring ext4 partitions with or without compression. Installation is via the official Arch Linux repositories and usage involves specifying the source and destination partitions or image files along with compression options if desired.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

Partclone: Without Compression

Partclone is a backup and restore tool that can create disk images of partitions while only backing up used blocks. It supports backing up and restoring ext4 partitions with or without compression. Installation is via the official Arch Linux repositories and usage involves specifying the source and destination partitions or image files along with compression options if desired.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

8/16/14 Partclone - ArchWiki

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.

You might also like