English / Deutsch | Print version Plop Linux 
Twitter
twitter

<< Previous
Add LibreOffice or OpenOffice

Table of Contents

Next >>
Backup / restore with fsarchiver

Backup / restore with Partimage


This example shows you how to backup/restore a NTFS partition. The backup file will be saved on a NTFS formatted USB hard disk.

Basic conditions:

  • Windows is installed on the first partition of a SATA hard disk. This partition is formatted with NTFS.
  • The partition image should be stored on a NTFS formatted USB hard disk.
  • Device node SATA hard disk: /dev/sda
  • Device node USB hard disk: /dev/sdb
Use dmesg to determine what device nodes linux is using for your devices. You can find an example at 2.1 Make an USB device bootable step-by-step. USB-, SCSI- and SATA-devices are using /dev/sdX. IDE-devices are using /dev/hdX. X should be replaced with a to z.


Preparations:

  1. Boot with Plop Linux.

  2. Mount the USB hard disk.
    mount /dev/sdb1 /mnt -t ntfs-3g

  3. Change to the USB hard disk.
    cd /mnt


With the following instructions, you are able to create/restore partitions

1. Create a Partimage image
1.1. Batch mode
1.2. User interface
 
2. Restore a partition
2.1. Batch mode
2.2. User interface

1. Create a Partimage image

1.1. Batch mode

    Create an image with the file name windowsXP_20070425 from the partition /dev/sda1.
    partimage -z1 -b -d save /dev/sda1 windowsXP_20070425


1.2. User interface

  1. Start Partimage.
    partimage

  2. Select the partition you want to backup.
    /dev/sda1

  3. Change with tabulator into the next field.
    Enter a filename. ex.
    windowsXP_20070425

  4. Change with F5 to the next screen.
    You can select some options. gzip compression is good and fast.

  5. Change with F5 to the next screen.
    You can enter a description for the image.

  6. Change with 2x enter to the next screen.

  7. You can see an overview about the partition. NTFS is experimental supported, but till now I never had problems. If Partimage has troubles with the partition, then the backup process will be aborted.


2. Restore a partition

2.1. Batch mode

    Restore the partition /dev/sda1 from the file windowsXP_20070425.000.
    partimage -b restore /dev/sda1 windowsXP_20070425.000


2.2. User interface

  1. Start Partimage.
    partimage

  2. Select the partition you want to restore.
    /dev/sda1

  3. Change with Tabulator into the next field.
    Enter the image filename. ex.
    windowsXP_20070425.000

  4. Change with F5 to the next screen.
    If you are sure then answer the question with OK.
    Now your partition will be restored.



<< Previous
Add LibreOffice or OpenOffice

Table of Contents

Next >>
Backup / restore with fsarchiver


© 2016 by Elmar Hanlhofer