I am trying to restore files from savevg.
I used to smit restore and gave the file location.
Savevg is taken to a mount point from San storage and not tape back up.
Can I restore just a directory from savevg?
---------- Post updated at 09:43 PM ---------- Previous update was at 09:42 PM ----------
After I tried restoring file the op shows no files restored
A few questions I'm afraid:-
- What version of AIX are we at?
- How was the savevg taken?
- Was there an exclude file used? (
-e
flag)
- Did the savevg work?
- How are you trying to restore?
- What error/output do you get?
The savevg and restvg are for operating on whole volume groups so far as I know. It is saved in backup format, so it might be possible to read it with the restore command instead, but I can't say I've ever tried. If you want to try, have a look at the -i
flag, but ensure you test it somewhere safe first.
Use the -f
to specify the device (or file in your case)
Sorry for all the questions, but I hope that this helps.
Robin