Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

savevg and restore 1

Status
Not open for further replies.

KenCunningham

Technical User
Mar 20, 2001
8,475
GB
Hi folks, I'm backing up my datavg every night using savevg (the exact command being savevg -f /dev/rmt0.1 datavg). Running a restore -Tvqf /dev/rmt0.1 gives me initial output of:

New volume on /dev/rmt0.1:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Fri 13 Feb 00:03:57 2004
Files are backed up by name.
The user is root.
126 ./tmp/vgdata/vgdata.files438390
126 ./tmp/vgdata/vgdata.files
3457 ./tmp/vgdata/datavg/filesystems
10 ./tmp/vgdata/datavg/tapeblksz
10651 ./tmp/vgdata/datavg/datavg.data
1078 ./tmp/vgdata/datavg/backup.data
0 ./dpp/live02
5242888192 ./dpp/live02/RBLIVEbenindx01.dbf

etc. Being more used to ufsdump/ufsrestore on Solaris, my question is, I hope, a simple one: How does one go about restoring a whole filesystem from a savevg, given the info. above. TIA.
 
hi ,

uses the restvg command to restore the backup created by
savevg command

e.g. restvg -f /dev/tape hdisk? # you can have more than 1
or specify volume group

man restvg fro more details
 
Thanks - listvgbackup seems the way to go - I'll do a test and see what transpires. There seem so many backup options to AIX it's sometimes difficult to decide on the best/most practical. Thanks again, have a good weekend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top