Backing up user-defined virtual devices by using the viosbr command
You can back up user-defined virtual devices by using the viosbr command. Use the viosbr command when you plan to restore the information to the same Virtual I/O Server (VIOS) logical partition from which it was backed up.
You can use the viosbr command to back up all the relevant data to recover a VIOS after an installation. The viosbr command backs up all the device properties and the virtual devices configuration on the VIOS. You can include information about some or all of the following devices in the backup:
- Logical devices, such as storage pools, clusters, file-backed storage pools, the virtual media repository, and paging space devices.
- Virtual devices, such as Etherchannel, Shared Ethernet Adapter, virtual server adapters, and virtual-server Fibre Channel adapters.
- Device attributes for devices like disks, optical devices, tape devices, fscsi controllers, Ethernet adapters, Ethernet interfaces, and logical Host Ethernet Adapters.
Before you start, run the ioslevel command to verify that the VIOS is at Version 2.1.2.0, or later.
To back up all the device attributes and logical and virtual
device mappings on the VIOS, run the following command:
viosbr -backup –file /tmp/myserverbackup
where /tmp/myserverbackup is
the file to which you want to back up the configuration information.