1PARTCLONE.DD(8) Partclone User Manual PARTCLONE.DD(8)
2
3
4
6 partclone.dd - unsupported file system backup utility.(like `dd` )
7
9 partclone.dd {[-s | --source] source}
10 {[[-o | --output] [-O | --overwrite]] target}
11 [[-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]
12
14 partclone.dd is a part of Partclone project to clone unsupported file
15 system with dd method. It will backup all block from partition.
16 Partclone provide utilities to backup used blocks and design for higher
17 compatibility of the file system by using existing library, e.g.
18 e2fslibs is used to read the used block of ext2 partition.
19
20 Partclone supported file system include btrfs, ext2, ext3, ext4,
21 reiserfs, reiser4, xfs and jfs for LINUX. Also support some non-linux
22 operation system, ex: NTFS and FAT (for Windows), HFS plus(APPLE MAC
23 OS), UFS2(FreeBSD), VMFS(VMWare Vsphere). All partclone utils could be
24 run like partclone.xxx is very smiliar fsck or mkfs. For example, for
25 backup/restore hfsplus, just run partclone.hfsp.
26
28 The program follows the usual GNU command line syntax, with long
29 options starting with two dashes (`-'). A summary of options is
30 included below.
31
32 -s FILE, --source FILE
33 Source FILE. The FILE could be a image file(made by partclone) or
34 device depend on your action. Normally, backup source is device,
35 restore source is image file.
36
37 Receving data from pipe line is supported ONLY for restoring, just
38 ignore -s option or use '-' means receive data from stdin.
39
40 -o FILE, --output FILE
41 Output FILE. The FILE could be a image file(partclone will
42 generate) or device depend on your action. Normally, backup output
43 to image file and restore output to device.
44
45 Sending data to pipe line is also supported ONLY for back-up, just
46 ignore -o option or use '-' means send data to stdout.
47
48 -O FILE, --overwrite FILE
49 Overwrite FILE, overwriting if exists.
50
51 --restore_raw_file
52 Creating special raw file for loop device.
53
54 -L FILE, --logfile FILE
55 put special path to record partclone log information.(default
56 /var/log/partclone.log)
57
58 -R, --rescue
59 Continue after disk read errors.
60
61 -C, --no_check
62 Don't check device size and free space.
63
64 -N, --ncurses
65 Using Ncurses Text User Interface.
66
67 -X, --dialog
68 Output message as Dialog Format.
69
70 -I, --ignore_fschk
71 Ignore filesystem check.
72
73 --ignore_crc
74 Ignore crc check error.
75
76 -F, --force
77 Force progress.
78
79 -f sec, --UI-fresh sec
80 put special second to different interval.
81
82 -z size, --buffer_size size
83 Read/write buffer size (default: 1048576)
84
85 -q, --quiet
86 Disable progress message.
87
88 -dlevel, --debug level
89 Set the debug level [1|2|3]
90
91 -h, --help
92 Show summary of options.
93
94 -v, --version
95 Show version of program.
96
98 /var/log/partclone.log
99 The log file of partclone.dd
100
102 clone /dev/hda1 to hda1.dd.img and display debug information.
103 partclone.dd -d -s /dev/hda1 -o hda1.dd.img
104
105 restore /dev/hda1 from hda1.dd.img and display debug information.
106 partclone.dd -d -s hda1.dd.img -o /dev/hda1
107
108
110 The following diagnostics may be issued on stderr:
111
112 partclone.dd provides some return codes, that can be used in scripts:
113
114 Code Diagnostic
115 0 Program exited successfully.
116 1 Clone or Restore seem failed.
117
118
120 Report bugs to thomas@nchc.org.tw or http://partclone.org.
121
122 You can get support at http://partclone.org
123
125 partclone(8), partclone.chkimg(8), partclone.restore(8),
126 partclone.dd(8), partclone.info(8)
127
129 Yu-Chin Tsai <thomas@nchc.org.tw>
130
132 Copyright © 2007 Yu-Chin Tsai
133
134 This manual page was written for the Debian system (and may be used by
135 others).
136
137 Permission is granted to copy, distribute and/or modify this document
138 under the terms of the GNU General Public License, Version 2 or (at
139 your option) any later version published by the Free Software
140 Foundation.
141
142 On Debian systems, the complete text of the GNU General Public License
143 can be found in /usr/share/common-licenses/GPL.
144
145
146
147
148partclone.dd 03/18/2022 PARTCLONE.DD(8)