Restore Image

restorevolume <image path>[:volume number] [pw:<password>]

Restores a specified volume in a selected image.

Volume UID may be assigned to a volume which has no drive letter assigned.

 

Example:

restorevolume /mnt/backup/test.aiv /dev/sdb1

restorevolume /mnt/backup/test.aiv:2 /dev/sdb1 pw:mypassword

 

The following options may be specified.

Option

Description

sdisk<number>

A disk may be specified in an image file which includes multiple disks (by defailt "0" is specified).

mbr

Restores master boot record stored in an image file.

track0

Restores the data in the first track stored in the image file.

restoredisk <image path>[change list] disk<number> [pw:<password>]

Restores a specified disk included in an image file.

 

Example:

restoredisk /mnt/backup/test.aiv /dev/sdb

restoredisk /mnt/backup/test.aiv /dev/sdb pw:mypass

restoredisk /mnt/backup/test.aiv /dev/sdb mbr

 

The following options may be specified.

Option

Description

sdisk<number>

Specify a disk to restore from an image file which includes multiple disks (by default, "0" is specified).

mbr

Restores the master boot record stored in an image file.

track0

Restores the data in the first track stored in the image file.

restorelvm <lvm disk image path> <lvm VolumeGroup image path> <target disk> [pw:<password>]

Restores LVM from a specified image file.

 

Example:

restorelvm  /mnt/backup/lvmsys_sda.aiv /mnt/backup/lvmsys_VolGroup.aiv /dev/sda