Quote:
Originally Posted by
kwliew999
restvg to another hdisk, I will get back a exact same VG that I perform savevg earlier.
Not exactly. You don't need to have exactly the same physical volumes (i.e. they need to be big enough to hold all the LVs but might be bigger than their originals), etc.. They just need to be able to accomodate the VGs needs. That means: if you have i.e. LVs with copies and "strict" as a rule you need two disks so that the copies can go on different disks and similar.
savevg is using the
backup command to save the files themselves (this backup image is part of the savevg image and if you know what you are doing you can even pull out single files from it using the
restore command).
In fact
savevg works exactly the same way as
mksysb (minus the boot code, etc., because the base mksysb image is created by doing a
savevg rootvg) which we have described several times in this forum.
I hope this helps.
bakunin