PARTCLONE.IMAGER(8) | Partclone User Manual | PARTCLONE.IMAGER(8) |
partclone.imager - unsupported file system backup utility.(like `dd` )
partclone.imager {[-c | --clone] [-r | --restore] [-b | --dev-to-dev]} {{-s | --source} source} {{-o | --output} [-O | --overwrite] target} [-dX | --debug=X] [--restore_raw_file] [-z | --buffer_size] [-N | --ncurses] [-q | --quiet] [-f | --UI-fresh] [-F | --force] [-I | --ignore_fschk] [--ignore_crc] [-X | --dialog] [-C | --nocheck] [-R | --rescue] [{-L | --logfile} logfile]
partclone.imager is a part of Partclone project to clone unsupported file system with dd method. It will backup all block from partition. 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.
Partclone supported file system include btrfs, ext2, ext3, ext4, reiserfs, reiser4, xfs and jfs for LINUX. Also support some non-linux operation system, ex: NTFS and FAT (for Windows), HFS plus(APPLE MAC OS), UFS2(FreeBSD), VMFS(VMWare Vsphere). All partclone utils could be run like partclone.xxx is very smiliar fsck or mkfs. For example, for backup/restore hfsplus, just run partclone.hfsp.
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-s FILE, --source FILE
Receving data from pipe line is supported ONLY for restoring, just ignore -s option or use '-' means receive data from stdin.
-o FILE, --output FILE
Sending data to pipe line is also supported ONLY for back-up, just ignore -o option or use '-' means send data to stdout.
-O FILE, --overwrite FILE
-c, --clone
-r, --restore
-b, --dev-to-dev
--restore_raw_file
-l FILE, --logfile FILE
-R, --rescue
-C, --no_check
-N, --ncurse
-X, --dialog
-I, --ignore_fschk
--ignore_crc
-F, --force
-f sec, --UI-fresh sec
-z size, --buffer_size size
-q, --quiet
-dlevel, --debug level
-h, --help
-v, --version
/var/log/partclone.log
clone /dev/hda1 to hda1.dd.img and display debug information.
partclone.dd -c -d -s /dev/hda1 -o hda1.dd.img
restore /dev/hda1 from hda1.dd.img and display debug information.
partclone.dd -r -d -s hda1.dd.img -o /dev/hda1
The following diagnostics may be issued on stderr:
partclone.imager provides some return codes, that can be used in scripts:
Code | Diagnostic |
0 | Program exited successfully. |
1 | Clone or Restore seem failed. |
Report bugs to thomas@nchc.org.tw or http://partclone.org.
You can get support at http://partclone.org
partclone(8), partclone.chkimg(8), partclone.restore(8), partclone.dd(8), partclone.info(8)
Yu-Chin Tsai <thomas@nchc.org.tw>
Copyright © 2007 Yu-Chin Tsai
This manual page was written for the Debian system (and may be used by others).
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.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
01/10/2017 | partclone.imager |