| How To Configure a Bootable USB drive for bare metal recovery (SBAdmin v7) |
|
|
|
Using SBAdmin it is possible to use a dedicated hard disk for full system backup and recovery (referred to as Local System Backup Disk or SBDIR). On the Linux x86 platform, it is becoming more common to use USB devices as local system backup disks. This how-to will describe the steps necessary to create a bootable USB local system backup disk. The disk may then be used to recover the original system or migrating the system to new hardware. This disk is commonly known as SBDIR throughout the SBAdmin application. Prerequisites
Creating a bootable USB drive for bare metal recoveryDeterminine the attached driveWhen using SBAdmin Network Edition, the local system backup disk will be attached locally to a configured client. You should perform the following on the client.
In order to use the drive as a local system backup disk, the drive must me unused and unconfigured. Most USB hard drives and flash drives come pre-formatted which causes them to automatically mount when attached to a system, which makes them in use by SBAdmin standards. **For this example the USB disk will be refered to as sdb. Make sure to properly identify your removable disk before making any changes because ALL DATA on the disk you configure will be lost** First, make sure any filesystems on the USB disk are not mounted. (The following output shows partition 1 of sdb mounted on /media/disk) # df If your USB disk is mounted, use the umount command to unmount it.
# umount /media/disk Note, make sure the disk or any partitions of the disk are not defined in /etc/fstab. Using SBAdmin to configure the disk for system backupStart the SBAdmin GUI with the following command:
# sbadmin If using Network Edition select Configure -> Clients and select the client with the attached USB disk.
If using Workstation Edition Configure -> System Backup Disks Use the drop-down button next to the Disks for Local System Backups field to select the disk that will be used (sdb in our case). The default mount point is /backups/local/system but you may change this if you wish.
By default, SBAdmin will select to use LVM when configuring the disk. When using USB disks it is often preferable to use a partition-based disk. Choose the option Partition (1 disk max) .
![]() Press the Save button and you will see one last warning that all the data on the disk will be overwritten. Choose Yes and the disk will be made into a SBAdmin backup disk. At this point the disk is bootable and any "Full System" type backup written to the disk may be used for full system recovery. The configured disk will be presented to you as SBDIR throughout the application (including when configuring a backup job). In addition, when using Network Edition you should select "Client local tape/disk" as the "Server" to access the device on the client. ConclusionSBAdmin recognizes the value and portability of using a USB storage device as backup media. For that, we support the ability to use the USB storage device for the purposes of disaster recovery.
References
|



