You are on page 1of 2

Labs  RHEL Backup and Restore Assistant

RHEL Backup and Restore Assistant


Knowledge Type

Choose scenario

 Hardware migration

Hardware migration

There maybe two types of machine installed on one hardware, a bundle of


virtual machines and a single physical machine. We will introduce the migration
methods separately.

Virtual machine migration


1. It is NOT possible to create a ISO image of an installed system as Windows.

If you want to create similar system's and if this is your virtual machine in
RHEV then you can create a template of this virtual machine. You can
then use this template to create new virtual machines of exactly same
configurations. If you are using KVM as a host, then you can create a
clone of the existing virtual machine. This clone can be used to create
new virtual machines.

Physical machine migration


The solution with dd for physical machine migration is direct, coping original
disk to backup server disk, and make sure the two servers have the exactly
same hardware configurations.

1. Copy the whole disk /dev/sda to a backup disk /dev/sdc with dd


 This method requires all hardware configuration on the backup
server should be the same, for example they should have the
exact same CPU model, same memory card and etc.

# dd if=/dev/sda of=/dev/sdc

 Here I am assuming the external drive you attached is '/dev/sdc'.


The disk `/dev/sdc` is the complete clone of `/dev/sda`. All the
partitions in it are the same with the same user/system data
which means the partition which is labelled as `/dev/sda1` will be
labelled as `/dev/sda1` in the /dev/sdc` disk and not as
`/dev/sdc1`. When attaching this disk to the other system, make
sure that this disk will get the name /dev/sda.

2. The paths for common device:

# /dev/chrom or /dev/sdX or /dev/hdX: CDROM


# /dev/st0 (SCSI drive), /dev/ht0 (IDE drive): tape
# /dev/fd0, /dev/fd1: diskette drive
# /dev/hd[a-d][1-63] (IDE), /dev/sd[a-p][1-16] (SCSI/SATA): Hard d
# /dev/sd[a-p][1-16] (The same with SCSI and iSCSI): External usb

BACK

Copyright © 2021 Red Hat, Inc.

You might also like