Can you tell me more about the first 3 parts of savevg? Not clear for me to get the point from you.
I was trying to give the complete picture. For details you may want to search the forum, for instance here.
Quote:
Originally Posted by Phat
Regarding the second thing, there is a need if the file was deleted somehow unexpectedly, and we would like it to be recovered to the same location.
You yourself provided the command:
which would - again, your own words - restore the file originally being found at /home/bbb/nohup.out to /home/aaa/home/bbb/nohup.out, yes?
Now, if you want to restore the file to /home/bbb/nohup.out instead of /home/aaa/home/bbb/nohup.out what do you think you should change in the above command, hmm? I don't know the listvgbackup command, but the rest looks pretty much like the parameters for the restore command. You migh want to consult the man page for restore because this is the common utility to pull out single files from a savevg image. This is why i told you it is is in backup format. backup and restore are UNIX utilities to create backup images and restore from them.
Quote:
Originally Posted by Phat
So how about restoring whole AIX OS, it will overwrite all existing files (with corrupted and non-corrupted data) to bring the OS back to normal?
You can do that. Usually you have a rootvg where all the OS-relevant stuff, customisation, etc.. resides. Ideally it does NOT contain any application data or application binaries. You create an image of this VG with the mksysb command. If you send this backup to a tape or a NIM-server it is even possible to boot a system with it and then restore the backup, thus restoring the system as it was set up when you took the backup. This is commonly used not only for restoring systems in case of disaster but also to install new systems. You create a "golden image" on a system, create a mksysb image from it, then use this image to base-install systems with everything pre-set/pre-configured in the way you want it and only apply additional customisation/settings to it.
You can also do a savevg which creates an analogous image from a non-root VG. You can use such an image to restore application data onto the same system or onto a new system for the purpose of cloning the old system.
goodafternoon people.
here are a couple of error messages I get during restore of mksysb from a AIX F80 to a F50. I have verified blocksize and have set them to 1024 which matches both the systems.
backup system is F80 and restore system is F50. Both are 4.3.3 ML10 level
Upon executing via... (1 Reply)
I have my application vendor looking at this but I want to do my own investigation.
I restored from mksysb and I see my vgs that contain my internal disks.
But I do not see my vgs that contain disks from the SAN. This scares me ..
{{ Ha, ha!! My AIX expert boss just told me I have nothing... (0 Replies)
Can a NIM client mksysb restore be performed via NIM (smitty nim) without the NIM client machine having the NIM server's IP and hostname in its /etc/hosts file? (10 Replies)
Hi all,
I am still working on my mksysb restore.
My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored.
0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any
available boot images. Please correct this... (0 Replies)
Hello.
I restore an mksysb image (AIX 5.3 TL 11) from one model to another model of Power (power 5 to power 7). Everything seems good, but I lost environment variables of at least one of a user profile. The result of the "env" command show me great differences between two servers, first of them... (2 Replies)
Hi Folks,
How to restore mksysb image on LPAR which is already having cloned AIX OS installed on hdisk0 (nothing configured, only full partition image is sitting on hdisk0)
Let me know.
Thank a lot. (1 Reply)
Dear all
First of all, my English not so good.
We have p52a (production server) and p52a (test server). Tape drives are VXA2.
When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK.
The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Hello,
Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process.
I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Hello everybody,
I have a little problem with my mksysb restore. My system: AIX 6100-09-11-1806.
I make mksysb backup of my LPARs by NIM server. I am doing restore tests by NIM server on spare LPAR now. All LPARs were restored allright except for one.
During restore it stops with this... (4 Replies)