Difference between revisions of "Partclone"

From ArchWiki
Jump to: navigation, search
(New page: ==Introduction== [http://partclone.nchc.org.tw/ Partclone] provides utilities to back up and restore only the used blocks of a partition. Therefore, Partclone produces smaller image file...)
 
Line 4: Line 4:
 
Partclone produces smaller image files then [http://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html dd] does.  
 
Partclone produces smaller image files then [http://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html dd] does.  
  
Partclone is available on the [http://aur.archlinux.org/ AUR] (partclone-svn). Due to compiling issues, Partclone currently can be installed on i686 systems only, but can nevertheless back up and restore images from and to 64 bit systems, of course.
+
Partclone is available on the [http://aur.archlinux.org/ AUR] (partclone-svn).
  
 
==Usage==
 
==Usage==

Revision as of 19:47, 5 May 2009

Introduction

Partclone provides utilities to back up and restore only the used blocks of a partition. Therefore, Partclone produces smaller image files then dd does.

Partclone is available on the AUR (partclone-svn).

Usage

Without Compression

back up

partclone.extfs -c -s /dev/sda1 -o ~/image_sda1.pcl

restore

partclone.extfs -r -s ~/image_sda1.pcl -o /dev/sda1
Note: Adjust source and target to your needs.

With Compression

back up (for maximum compression use "gzip -c9")

partclone.extfs -c -s /dev/sda1 | gzip -c > ~/image_sda1.pcl.gz

restore

zcat ~/image_sda1.pcl.gz | partclone.extfs -r -o /dev/sda1
Note: Adjust source and target to your needs.