{"id":3706,"date":"2022-12-20T17:19:49","date_gmt":"2022-12-20T20:19:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/partclone-man8\/"},"modified":"2022-12-20T17:19:49","modified_gmt":"2022-12-20T20:19:49","slug":"partclone-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/partclone-man8\/","title":{"rendered":"PARTCLONE (man8)"},"content":{"rendered":"<h1 align=\"center\">PARTCLONE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#DIAGNOSTICS\">DIAGNOSTICS<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">partclone \u2212 The utility for clone and restore a partition.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>partclone.[fstype]<\/b> {[<b>\u2212c\u00a0<\/b>|\u00a0<b>\u2212\u2212clone<\/b>]\u00a0[<b>\u2212r\u00a0<\/b>|\u00a0<b>\u2212\u2212restore<\/b>]\u00a0[<b>\u2212b\u00a0<\/b>|\u00a0<b>\u2212\u2212dev\u2212to\u2212dev<\/b>]} {[<b>\u2212s\u00a0<\/b>|\u00a0<b>\u2212\u2212source<\/b>]\u00a0<i>source<\/i>} {[[<b>\u2212o\u00a0<\/b>|\u00a0<b>\u2212\u2212output<\/b>]\u00a0[<b>\u2212O\u00a0<\/b>|\u00a0<b>\u2212\u2212overwrite<\/b>]]\u00a0<i>target<\/i>} [[<b>\u2212dX\u00a0<\/b>|\u00a0<b>\u2212\u2212debug=X<\/b>]\u00a0[<b>\u2212\u2212restore_raw_file<\/b>]] [[<b>\u2212z\u00a0<\/b>|\u00a0<b>\u2212\u2212buffer_size<\/b>]\u00a0[<b>\u2212N\u00a0<\/b>|\u00a0<b>\u2212\u2212ncurses<\/b>]] [[<b>\u2212q\u00a0<\/b>|\u00a0<b>\u2212\u2212quiet<\/b>]\u00a0[<b>\u2212f\u00a0<\/b>|\u00a0<b>\u2212\u2212UI\u2212fresh<\/b>]] [[<b>\u2212F\u00a0<\/b>|\u00a0<b>\u2212\u2212force<\/b>]\u00a0[<b>\u2212I\u00a0<\/b>|\u00a0<b>\u2212\u2212ignore_fschk<\/b>]] [[<b>\u2212\u2212ignore_crc<\/b>]\u00a0[<b>\u2212X\u00a0<\/b>|\u00a0<b>\u2212\u2212dialog<\/b>]\u00a0[<b>\u2212C\u00a0<\/b>|\u00a0<b>\u2212\u2212nocheck<\/b>]] [[<b>\u2212R\u00a0<\/b>|\u00a0<b>\u2212\u2212rescue<\/b>]\u00a0[<b>\u2212L\u00a0<\/b>|\u00a0<b>\u2212\u2212logfile<\/b>]\u00a0<i>logfile<\/i>]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>partclone<\/b>.[fstype] is a part of <b>Partclone<\/b> project. Partclone provide utilities to backup used blocks and design for higher compatibility of the file system by using existing library, e.g. e2fslibs is used to read the used block of ext2 partition.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Partclone<\/b> supported file system include btrfs, ext2, ext3, ext4, reiserfs, reiser4, xfs and jfs for LINUX. Also support some non\u2212linux operation system, ex: NTFS, FAT and EXFAT(for Windows), HFS plus(APPLE MAC OS), UFS2(FreeBSD), VMFS(VMWare Vsphere) and MINIX(MINIX3).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">All partclone utils could be run like partclone.[fstype] is very smiliar fsck or mkfs. For example, for backup\/restore hfsplus, just run partclone.hfsp<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">File System partclone.[fstype]<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">btrfs partclone.btrfs <br \/> ext2, ext3, ext4 partclone.[ext2|ext3|ext4] <br \/> reiserfs 3.5 partclone.reiserfs <br \/> reiser 4 partclone.reiser4 <br \/> xfs partclone.xfs <br \/> ufs | ufs2 partclone.ufs <br \/> jfs partclone.jfs <br \/> hfs plusfs partclone.[hfs+|hfsplus] <br \/> vmfs partclone.vmfs <br \/> ntfs partclone.ntfs <br \/> fat12, fat16, fat32 partclone.[fat12|fat16|fat32] <br \/> exfat partclone.exfat <br \/> minix partclone.minix <br \/> f2fs partclone.f2fs <br \/> nilfs2 partclone.nilfs2<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The program follows the usual GNU command line syntax, with long options starting with two dashes (\u2018\u2212&#8217;). A summary of options is included below.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s<\/b> <i>FILE<\/i>, <b>\u2212\u2212source<\/b> <i>FILE<\/i><\/p>\n<p style=\"margin-left:17%;\">Source FILE. The FILE could be a image file(made by partclone) or device depend on your action. Normanly, backup source is device, restore source is image file.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Receving data from pipe line is supported ONLY for restoring, just ignore \u2212s option or use &#8216;\u2212&#8217; means receive data from stdin.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212o<\/b> <i>FILE<\/i>, <b>\u2212\u2212output<\/b> <i>FILE<\/i><\/p>\n<p style=\"margin-left:17%;\">Output FILE. The FILE could be a image file(partclone will generate) or device depend on your action. Normanly, backup output to image file and restore output to device.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Sending data to pipe line is also supported ONLY for back\u2212up, just ignore \u2212o option or use &#8216;\u2212&#8217; means send data to stdout.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212O<\/b> <i>FILE<\/i>, <b>\u2212\u2212overwrite<\/b> <i>FILE<\/i><\/p>\n<p style=\"margin-left:17%;\">Overwrite FILE, overwriting if exists.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212c<\/b>, <b>\u2212\u2212clone<\/b><\/p>\n<p style=\"margin-left:17%;\">Save partition to the special image format.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b>, <b>\u2212\u2212restore<\/b><\/p>\n<p style=\"margin-left:17%;\">Restore partition from the special image format.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212b<\/b>, <b>\u2212\u2212dev\u2212to\u2212dev<\/b><\/p>\n<p style=\"margin-left:17%;\">Local device to device copy on\u2212the\u2212fly, source and output both are device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212D<\/b>, <b>\u2212\u2212domain<\/b><\/p>\n<p style=\"margin-left:17%;\">Create GNU Ddrescue domain log file from source device<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212offset_domain=X<\/b><\/p>\n<p style=\"margin-left:17%;\">Add X (in bytes) to all positions reported in the domain log file<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212restore_raw_file<\/b><\/p>\n<p style=\"margin-left:17%;\">Creating special raw file for loop device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212L<\/b> <i>FILE<\/i>, <b>\u2212\u2212logfile<\/b> <i>FILE<\/i><\/p>\n<p style=\"margin-left:17%;\">put special path to record partclone log information.(default \/var\/log\/partclone.log)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212R<\/b>, <b>\u2212\u2212rescue<\/b><\/p>\n<p style=\"margin-left:17%;\">Continue after disk read errors.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212C<\/b>, <b>\u2212\u2212no_check<\/b><\/p>\n<p style=\"margin-left:17%;\">Don&#8217;t check device size and free space.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212N<\/b>, <b>\u2212\u2212ncurse<\/b><\/p>\n<p style=\"margin-left:17%;\">Using Ncurses Text User Interface.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212X<\/b>, <b>\u2212\u2212dialog<\/b><\/p>\n<p style=\"margin-left:17%;\">Output message as Dialog Format.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212I<\/b>, <b>\u2212\u2212ignore_fschk<\/b><\/p>\n<p style=\"margin-left:17%;\">Ignore filesystem check.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212ignore_crc<\/b><\/p>\n<p style=\"margin-left:17%;\">Ignore crc check error.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212F<\/b>, <b>\u2212\u2212force<\/b><\/p>\n<p style=\"margin-left:17%;\">Force progress.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b> <i>sec<\/i>, <b>\u2212\u2212UI\u2212fresh<\/b> <i>sec<\/i><\/p>\n<p style=\"margin-left:17%;\">put special second to different interval.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212z<\/b> <i>size<\/i>, <b>\u2212\u2212buffer_size<\/b> <i>size<\/i><\/p>\n<p style=\"margin-left:17%;\">Read\/write buffer size (default: 1048576)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212q<\/b>, <b>\u2212\u2212quiet<\/b><\/p>\n<p style=\"margin-left:17%;\">Disable progress message.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b><i>level<\/i>, <b>\u2212\u2212debug<\/b> <i>level<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the debug level [1|2|3]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">Show summary of options.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212v<\/b>, <b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:17%;\">Show version of program.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/var\/log\/partclone.log<\/p>\n<p style=\"margin-left:17%;\">The log file of partclone<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\">clone \/dev\/hda1 to hda1.img and display debug information. <br \/> partclone.ext3 \u2212c \u2212d \u2212s \/dev\/hda1 \u2212o hda1.img<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">restore \/dev\/hda1 from hda1.img and display debug information. <br \/> partclone.extfs \u2212r \u2212d \u2212s hda1.img \u2212o \/dev\/hda1<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">restore image from clonezilla(split, gzip,) with stdin source <br \/> cat sda1.ext3\u2212ptcl\u2212img.gz.a* | gunzip \u2212c | partclone.ext3 \u2212d \u2212r \u2212s \u2212 \u2212o \/dev\/sda1<\/p>\n<h2>DIAGNOSTICS <a name=\"DIAGNOSTICS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following diagnostics may be issued on stderr:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>partclone<\/b> provides some return codes, that can be used in scripts:<\/p>\n<\/table>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"85%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\"> <\/td>\n<\/tr>\n<\/table>\n<p align=\"center\"><img decoding=\"async\" src=\"grohtml-1122401.png\" alt=\"Image grohtml-1122401.png\"><\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Report bugs to thomas@nchc.org.tw or <b><font color=\"#0000FF\">http:\/\/partclone.org<\/font><\/b><font color=\"#000000\">.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">You can get support at http:\/\/partclone.org<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>partclone<\/b>(8), <b>partclone.chkimg<\/b>(8), <b>partclone.restore<\/b>(8), <b>partclone.dd<\/b>(8), <b>partclone.info<\/b>(8)<\/font><\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>Yu\u2212Chin Tsai<\/b> <thomas@nchc.org.tw><\/font><\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Copyright \u00a9 2007 Yu-Chin Tsai<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">This manual page was written for the Debian system (and may be used by others).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Permission is granted to copy, distribute and\/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">On Debian systems, the complete text of the GNU General Public License can be found in \/usr\/share\/common\u2212licenses\/GPL.<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  partclone \u2212 The utility for clone and restore a partition. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,16],"class_list":["post-3706","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-partclone"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3706"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3706\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}