Partclone

{{Short description|Partition clone and restore tool}}

{{COI|date=October 2012}}

{{Infobox Software

| name = Partclone

| logo = Partclone logo icon, partclone-logo.png

| logo size = 64px

| screenshot = Partclone-screenshot, partclone-screen.png

| screenshot size = 256px

| caption = Partclone, version 0.2.51, running on Clonezilla

| collapsible =

| author = Thomas Tsai

| developer = NCHC Free Software Labs

| released = {{Start date and age|2007|11|25}}

| discontinued =

| latest release version = 0.3.32

| latest release date = {{Start date and age|2024|07|15}}{{cite web

| url = https://github.com/Thomas-Tsai/partclone/releases

| title = Releases · Thomas-Tsai/partclone

| website = github.com

| access-date = 2024-04-15

}}

| latest preview version =

| latest preview date =

| operating system = Linux, cross-platform

| programming language = C

| size =

| language = Fully translated: British English, French, Chinese

| genre =

| license = GNU General Public License

| website = {{URL|partclone.org}}

}}

Partclone is a partition clone and restore tool. It provides utilities to back up and restore partitions and is designed for higher compatibility of the file system library. It is developed by the NCHC Free Software Labs in Taiwan.{{cite web|title=Partclone- A tool to backup or restore a partition.::National Center for High-Performance Computing|url=http://www.nchc.org.tw/en/collaborative_research/fsl/partclone.php|archive-url=https://web.archive.org/web/20140714234123/http://www.nchc.org.tw/en/collaborative_research/fsl/partclone.php|url-status=dead|archive-date=14 July 2014|accessdate=12 October 2012}} It is the default backup application in Clonezilla,{{cite web|title=clonezilla - About|url=http://clonezilla.org/|accessdate=12 October 2012}} FOG (from version 1.00), Redo Rescue and Rescuezilla which is simply a front end to partclone.{{cite web|title=Bare Metal Restore Solution GUI Backup Open Source GPL Recovery|url=http://redobackup.org/|accessdate=12 October 2012}} It supports many file systems and has good performance, as it skips portions of the file system marked as free space.

Utilities

Partclone currently supports the following filesystems:

ext2, ext3, ext4, hfs+, reiserfs, reiser4, btrfs, vmfs(v3, v5), xfs, jfs, ufs, ntfs, fat(12/16/32), and exFAT.

To run partclone for a particular filesystem, one uses the command 'partclone.', in a similar manner to the mkfs command

  • partclone.btrfs
  • partclone.ext2, partclone.ext3, partclone.ext4
  • partclone.fat32, partclone.fat12, partclone.fat16
  • partclone.ntfs
  • partclone.exFAT
  • partclone.hfsp
  • partclone.jfs
  • partclone.reiserfs
  • partclone.reiser4
  • partclone.ufs (support SU+J)
  • partclone.vmfs (v3)
  • partclone.vmfs5 (for vmfs v5)
  • partclone.xfs

Features

Partclone is a partition image tool which attempts to only back up used data blocks. It's written in C and focuses on cloning filesystems, as opposed to cloning disks. The basic features are:

  • clone partition to image file
  • restore image file to partition
  • restore image file to raw file as loop device
  • duplicate partition on the fly
  • create domain file for ddrescue
  • crc32 support
  • pipe support (restore from stdin | clone to stdout)
  • text mode | quiet mode
  • Ncurses Text interface
  • rescue support
  • transfer rate, elapsed time calculating
  • support raw clone (like dd)
  • partclone.chkimg check image made by partclone

See also

{{Portal|Free and open-source software}}

References

{{reflist}}