Is there a command for the savevg that will only keep the filesystem information without backing up all the files. I do a regular backup but I would just like to run a savevg to save the filesystem information and then restore that and then restore the data.
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
I think that you are wanted for a map to restore unknows files if a day you lost your server... BUT, i think that you must to have a recent mksysb. (Regenerated after all filesystems modifications ! expand FS => mksysb ... always !). the last mksysb provides normally informations which you need.
Creating information file for volume group oravg1.
Creating list of files to back up.?*+ not preceded by valid expression.
Backing up 6 filesBacking up to /tmp/oravg1.
Cluster 51200 bytes (100 blocks).
Volume 1 on /tmp/oravg1
a 98 ./tmp/vgdata/vgdata.files118914
a 98 ./tmp/vgdata/vgdata.files
a 3647 ./tmp/vgdata/oravg1/filesystems
a 0 .
a 2260 ./tmp/vgdata/oravg1/oravg1.data
a 331 ./tmp/vgdata/oravg1/backup.data
The total size is 6434 bytes.
Backup finished on Fri Aug 4 07:16:37 2006; there are 100 blocks on 1 volumes.
0512-038 savevg: Backup Completed Successfully.
#
It writes an file /tmp/oravg1 and if you look in /tmp/vgdata/oravg1 you will see there the information what you need to recreate your vg.
In case of an total disaster you need to restore the rootvg, then recreate the vg whith this command
restvg -q -f'/tmp/oravg1'
and restore your data.
In other cases you only need the restvg command
This is the script we daily run. The tape goes to another location.
#!/usr/bin/ksh
##########################################
# #
# By Marcel Bogaard #
# #
# Make first an savevg of all your vg’s #
# (not rootvg) and then an mksysb #
# #
##########################################
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.