1PARTCLONE.RESTORE(8) Partclone User Manual PARTCLONE.RESTORE(8)
2
3
4
6 partclone.restore - restore partclone image to device.
7
9 partclone.restore {[-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.restore is a part of Partclone project to restore all image
15 made from partclone.[fstype] or partclone.dd. Partclone provide
16 utilities to backup used blocks and design for higher compatibility of
17 the file system by using existing library, e.g. e2fslibs is used to
18 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, FAT, EXFAT(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. Normanly, 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. Normanly, 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, --ncurse
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.restore
100
102 restore /dev/hda1 from hda1.img and display debug information.
103 partclone.restore -d -s hda1.img -o /dev/hda1
104
105 restore image from clonezilla(split, gzip,) with stdin source
106 cat sda1.ext3-ptcl-img.gz.a* | gunzip -c | partclone.restore -d -s - -o /dev/sda1
107
108 restore raw image from partclone.dd
109 partclone.dd -d -c -s /dev/sda1 -o - | partclone.restore -d -s - -o /dev/sdb1
110
111
113 The following diagnostics may be issued on stderr:
114
115 partclone.restore provides some return codes, that can be used in
116 scripts:
117
118 Code Diagnostic
119 0 Program exited successfully.
120 1 Clone or Restore seem failed.
121
122
124 Report bugs to thomas@nchc.org.tw or http://partclone.org.
125
126 You can get support at http://partclone.org
127
129 partclone(8), partclone.chkimg(8), partclone.restore(8),
130 partclone.dd(8), partclone.info(8)
131
133 Yu-Chin Tsai <thomas@nchc.org.tw>
134
136 Copyright © 2007 Yu-Chin Tsai
137
138 This manual page was written for the Debian system (and may be used by
139 others).
140
141 Permission is granted to copy, distribute and/or modify this document
142 under the terms of the GNU General Public License, Version 2 or (at
143 your option) any later version published by the Free Software
144 Foundation.
145
146 On Debian systems, the complete text of the GNU General Public License
147 can be found in /usr/share/common-licenses/GPL.
148
149
150
151
152partclone.restore 09/19/2015 PARTCLONE.RESTORE(8)