Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Wednesday 13 February 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

No comments:

Post a Comment