AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

backup multiple vg in one tape

  • 1.  backup multiple vg in one tape

    Posted Wed March 03, 2010 08:25 AM

    Originally posted by: apple08


    Dear AIX gurus,
    would like to seek your advice.
    and I would like to append the the savevg of several vg into one tape. do u have any comments to my script?
    #!/usr/bin/ksh
    /usr/bin/savevg -p -v -f /dev/rmt1.1 prod1vg
    /usr/bin/savevg -p -v -f /dev/rmt1.1 prod2vg
    what is the efficient way to verify the content of the tape and to ensure the backup is good?
    Hope to hear from you. Many thanks in advance
    #AIX-Forum


  • 2.  Re: backup multiple vg in one tape

    Posted Mon March 08, 2010 10:08 PM

    Originally posted by: chrissmith


    Hi

    While this approach will work it is not recommended

    Backing Up a Non-Root Volume Group in AIX 4 and 5L
    http://www-01.ibm.com/support/docview.wss?uid=isg3T1000267

    Tips and hints for savevg
    The restvg command expects the savevg image to be the first image on the tape. If the savevg image is not the first image on a tape, the restvg command is not supported as a means to restore that image. Individual files can still be restored from that image, but the tape must be forwarded to the correct filemark.

    Chris
    #AIX-Forum