Mittwoch, 18. Januar 2012

Creating and restoring partitons with partimage

Our idea
  • Use partimage to run a command which will create and or restore a image of a local partition on a different local partition
  •  Move this process to be stored on a local server and accessible for many PCs in one room

Benefits of using partimage

Can easily restore images on client computers locally or from a server, which could reverse damage caused by viruses if properly executed

Run Debian Rescue - a system which is preinstalled on our computers and has got partimage installed

Login into the Shell

Execute the following to create a new Image
partimage -dob -z1 save /dev/<partition> <imagename>
-z = compression from 0 to 2
-d = Don't ask for any description of the image file
-o = overwrite existing files without confirmation
-b = Batch Mode - GUI won't wait for user interaction

=(e.g. hda1) 
=(e.g. winxp_lynx)

Restoring an image of a local partition on a different local partition

Execute the following command
partimage -db restore /dev/ <imagename>

0 Kommentare:

Kommentar veröffentlichen