Monday 15 April 2013

Backup on Virtual I/O Server

BACKUP OF VG STRUCTURE :

You can backup the structure of any volume group so that the configuration data will be stored under /tmp/vgdata. This will be automatically done if you run backupios (and even the configuration data will be automatically backed up).

Here are some commands.

1. To backup the structure of datavg
# savevgstruct datavg

2. To display a list of saved volume groups
# restorevgstruct -ls


3. To restore the structure of datavg on 2 available disks
# restorevgstruct -vg datavg hdisk2 hdisk3


BACKUP OF USER-DEFINED VIRTUAL DEVICES :

You can take a backup of all the user-defined virtual devices using the viobr command. But it requires minimum VIOS level 2.1.2.0.  Backup file includes logical devices like storage pools, SEA, virtual server SCSI/FC/Ethernet adapters, device attributes for disks, optical devices, tape devices, LHEA, ethernet devices/interfaces.

Here are some related commands

1. To take a backup of user-defined virutal devices in an XML file

# viosbr -backup -file filename

2. To view the backup information

# viosbr -view -file filename

3. To restore the virtual device configuration
# viosbr -restore -file filename

4. To validate the backup file
# viosbr -restore -validate -file filename


BACKUP OF VO SERVER :

1. To perform backup on a tape media
# backupios -tape /dev/rmt0

2. To perform backup on a DVD media
# backupios -cd /dev/cd0 -udf

3. To perform backup on a DVD-RAM disk
# backupios -cd /dev/cd0 -udf -accept

4. To take backup on a file (Creates a file called nim_resources.tar)
# backupios -file /mnt

5. To perform mksysb backup
# backupios -file /mnt/vioserver1.mksysb -mksysb

0 blogger-disqus:

Post a Comment