logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

partimage - back up and restore disk partitions

Author

       Franck Ladurelle <ladurelf@partimage.org>
       Francois Dupoux  <fdupoux@partimage.org>

3rd Berkeley Distribution                         30 May, 2002                                      partimage(1)

Bugs

       Refer to BUGS file to read them.

Caveats

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

       FAT12 will never be supported.

Description

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

Diagnostics

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

       When using batchmode, exit status is normaly 0.

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

Name

       partimage - back up and restore disk partitions

Options

-zval,--compressval
              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

       -c,--nocheck
              Don't check the partition before saving.

       -o,--overwrite
              Overwrite the existing image file without confirmation.

       -d,--nodesc
              Don't ask any description for the image file.

       -Vvol,--volumevol
              Split image into multiple volumes files. vol will be the size in KB of volumes.

       -w,--waitvol
              Wait for a confirmation after each volume change.

       -e,--erase
              Erase empty blocks on restore with zero bytes.

       -m,--allowmnt
              Don't fail if the partition is mounted. Dangerous!

       -M,--nombr
              Don't create a backup of the MBR (Mast Boot Record) in the image file.

       -h,--help
              Show help.

       -v,--version
              Show version.

       -faction,--finishaction
              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

       -b,--batch
              batch mode: the GUI won't wait for an user action.

       -B'patternresponsestring',--fully-batch'patternresponsestring'
              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.

       -y,--nosync
              Don't synchronize the disks at the end of the operation. Dangerous!

       -saddr,--serveraddr
              Give partimaged server's ip address.

       -pport,--portport
              Give partimaged server's listening port.

       -gdebuglevel,--debugdebuglevel
              Set the debug level to debuglevel (defaults to 1).

       -n,--nossl
              Disable SSL in network mode.

       -S,--simulate
              Simulation of restoration mode.

       -astr,--automntstr
              Automatic mount with X options. Read the doc for more details.

       -Uname,--username=name
              Username to authenticate to partimage server.

       -Ppass,--password=pass
              Password for authentication of user to partimage server.

See Also

partimaged(8)

Synopsis

partimage   [   -bcdehimMnoSvwy   ]   [-B'patternresponsestring']  [-zcompresslevel]  [-Vvolumesize]
       [-factionatend] [-sserver] [-pport] [-amountoptions] [-Uusername] [-Ppassword] [-gloglevel] [ savedeviceimage_file ]
       partimage  [  -bcdehimMnoSvwy   ]   [-B'patternresponsestring']   [-zcompresslevel]   [-Vvolumesize]
       [-factionatend]  [-sserver]  [-pport]  [-amountoptions]  [-Uusername]  [-Ppassword] [-gloglevel] [
       restoredeviceimage_file/'stdin' ]
       partimage [ restmbrimage_file ]
       partimage [ imginfoimage_file ]

See Also