1partimage(1) General Commands Manual partimage(1)
2
3
4
6 partimage - back up and restore disk partitions
7
9 partimage [ -bcdehimMnoSvwy ] [-B 'pattern response string'] [-z com‐
10 presslevel] [-V volumesize] [-f actionatend] [-s server] [-p port]
11 [-a mountoptions] [-g loglevel] [ save device image_file ]
12 partimage [ -bcdehimMnoSvwy ] [-B 'pattern response string'] [-z com‐
13 presslevel] [-V volumesize] [-f actionatend] [-s server] [-p port]
14 [-a mountoptions] [-g loglevel] [ restore device image_file/'stdin' ]
15 partimage [ restmbr image_file ]
16 partimage [ imginfo image_file ]
17
19 partimage backs up disk partitions into image files and restores them.
20
22 -z val, --compress val
23 Set image file compression level:
24 val=0: don't compress: very fast but very big image file
25 val=1: compress using gzip: fast and small image file (default)
26 val=2: compress using bzip2: very slow and very small image file
27
28 -c, --nocheck
29 Don't check the partition before saving.
30
31 -o, --overwrite
32 Overwrite the existing image file without confirmation.
33
34 -d, --nodesc
35 Don't ask any description for the image file.
36
37 -V vol, --volume vol
38 Split image into multiple volumes files. vol will be the size in
39 KB of volumes.
40
41 -w, --waitvol
42 Wait for a confirmation after each volume change.
43
44 -e, --erase
45 Erase empty blocks on restore with zero bytes.
46
47 -m, --allowmnt
48 Don't fail if the partition is mounted. Dangerous!
49
50 -M, --nombr
51 Don't create a backup of the MBR (Mast Boot Record) in the image
52 file.
53
54 -h, --help
55 Show help.
56
57 -v, --version
58 Show version.
59
60 -f action, --finish action
61 Action to do if finished successfully:
62 action=0: wait (do nothing)
63 action=1: halt (power off the computer)
64 action=2: reboot (restart the computer)
65 action=3: quit
66
67 -b, --batch
68 batch mode: the GUI won't wait for an user action.
69
70 -B 'pattern response string', --fully-batch 'pattern response string'
71 full batch mode: the GUI is not being displayed. Rather status
72 messages are displayed as normal text. The pattern response
73 string has the following format:
74 ´<glob-pattern>=<response-value>;...´
75 where the glob pattern is matched against the string <window-
76 title>/<message-text> of the message dialogue box to be dis‐
77 played. For dialog boxes with buttons in the window, the
78 <response> must be the exact button text. The pattern response
79 string usually needs to be quoted as above.
80
81 -y, --nosync
82 Don't synchronize the disks at the end of the operation. Danger‐
83 ous!
84
85 -s addr, --server addr
86 Give partimaged server's ip address.
87
88 -p port, --port port
89 Give partimaged server's listening port.
90
91 -g debuglevel, --debug debuglevel
92 Set the debug level to debuglevel (defaults to 1).
93
94 -n, --nossl
95 Disable SSL in network mode.
96
97 -S, --simulate
98 Simulation of restoration mode.
99
100 -a str, --automnt str
101 Automatic mount with X options. Read the doc for more details.
102
103
105 partimage -z1 -o -d save /dev/hda12 /mnt/backup/redhat-6.2.partimg.gz
106 partimage -z1 -om save /dev/hda9 /mnt/backup/win95-osr2.partimg.gz
107 partimage restore /dev/hda13 /mnt/backup/suse-6.4.partimg
108 cat debian.partimg.000 debian.partimg.001 | partimage restore /dev/hda1
109 stdin
110 partimage restmbr /mnt/backup/debian-potato-2.2.partimg.bz2
111 partimage imginfo /mnt/backup/debian-potato-2.2.partimg.bz2
112
114 partimaged(8)
115
117 You can read options set at compile time running 'partimage -i'.
118
119 When using batchmode, exit status is normaly 0.
120
122 For now, only ext2fs, FAT16, FAT32, NTFS, HPFS, JFS, XFS, reiserfs are
123 supported.
124
125 FAT12 will never be supported.
126
128 Refer to BUGS file to read them.
129
131 Franck Ladurelle <ladurelf@partimage.org>
132
133
134
135
1363rd Berkeley Distribution 24 June 2001 partimage(1)