Scroll to navigation

partimage(1) Partition Image Manual partimage(1)

NAME

partimage - back up and restore disk partitions

SYNOPSIS

partimage [ -bcdehimMnoSvwy ] [-B 'pattern response string'] [-z compresslevel] [-V volumesize] [-f actionatend] [-s server] [-p port] [-a mountoptions] [-U username] [-P password] [-g loglevel] [ save device image_file ]
partimage [ -bcdehimMnoSvwy ] [-B 'pattern response string'] [-z compresslevel] [-V volumesize] [-f actionatend] [-s server] [-p port] [-a mountoptions] [-U username] [-P password] [-g loglevel] [ restore device image_file/'stdin' ]
partimage [ restmbr image_file ]
partimage [ imginfo image_file ]

DESCRIPTION

partimage backs up disk partitions into image files and restores them.

OPTIONS

Set image file compression level:
val=0: don't compress: very fast but very big image file
val=1: compress using gzip: fast and small image file (default)
val=2: compress using bzip2: very slow and very small image file
Don't check the partition before saving.
Overwrite the existing image file without confirmation.
Don't ask any description for the image file.
Split image into multiple volumes files. vol will be the size in KB of volumes.
Wait for a confirmation after each volume change.
Erase empty blocks on restore with zero bytes.
Don't fail if the partition is mounted. Dangerous!
Don't create a backup of the MBR (Mast Boot Record) in the image file.
Show help.
Show version.
Action to do if finished successfully:
action=0: wait (do nothing)
action=1: halt (power off the computer)
action=2: reboot (restart the computer)
action=3: quit
batch mode: the GUI won't wait for an user action.
full batch mode: the GUI is not being displayed. Rather status messages are displayed as normal text. The pattern response string has the following format:
´<glob-pattern>=<response-value>;...´
where the glob pattern is matched against the string <window-title>/<message-text> of the message dialogue box to be displayed. For dialog boxes with buttons in the window, the <response> must be the exact button text. The pattern response string usually needs to be quoted as above.
Don't synchronize the disks at the end of the operation. Dangerous!
Give partimaged server's ip address.
Give partimaged server's listening port.
Set the debug level to debuglevel (defaults to 1).
Disable SSL in network mode.
Simulation of restoration mode.
Automatic mount with X options. Read the doc for more details.
Username to authenticate to partimage server.
Password for authentication of user to partimage server.

EXAMPLE

partimage -z1 -o -d save /dev/hda12 /mnt/backup/redhat-6.2.partimg.gz
partimage -z1 -om save /dev/hda9 /mnt/backup/win95-osr2.partimg.gz
partimage restore /dev/hda13 /mnt/backup/suse-6.4.partimg
cat debian.partimg.000 debian.partimg.001 | partimage restore /dev/hda1 stdin
partimage restmbr /mnt/backup/debian-potato-2.2.partimg.bz2
partimage imginfo /mnt/backup/debian-potato-2.2.partimg.bz2

SEE ALSO

partimaged(8)

DIAGNOSTICS

You can read options set at compile time running 'partimage -i'.

When using batchmode, exit status is normaly 0.

CAVEATS

Supported file systems: Ext2/3, Reiser3, FAT16/32, HPFS, JFS, XFS, UFS(beta), HFS(beta), NTFS(experimental)

FAT12 will never be supported.

BUGS

Refer to BUGS file to read them.

AUTHOR

Franck Ladurelle <ladurelf@partimage.org>

Francois Dupoux <fdupoux@partimage.org>
30 May, 2002 3rd Berkeley Distribution