Operating System - HP-UX
1833016 Members
2922 Online
110048 Solutions
New Discussion

Re: restoring with ignite-ux

 
SOLVED
Go to solution
Jeffrey F. Goldsmith
Super Advisor

restoring with ignite-ux

I was able to figure out what my earlier problems were but now have new questions. I performed the ignite function. the only problem is that the volume sizes did not show up the same. I am attaching an excel file that shows the file sizes. Is there a way to restore the files that were not correctly restored without losing what is already there?
Thanks for the help.
6 REPLIES 6
Cheryl Griffin
Honored Contributor

Re: restoring with ignite-ux

You can selectively restore files from an Ignite backup with:
# cd /
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar xvf /dev/rmt/0mn etc/resolv.conf

Replace etc/resolv.conf with the filename of each file that needs to be restored.
"Downtime is a Crime."
Hoefnix
Honored Contributor
Solution

Re: restoring with ignite-ux

All the logicalvolumes on vg00 (root volumegroup) are restored in sizes you configure during the restore of the ignite tape(in advanced menu before restore). You were able to configure new sizes but could also use the same(i think thats the default) as it was during the create of the ignite backup.

In your excel you see only the % used before and after. After the restore I am not sure if all the logfiles were restored the same as before.
You could better look for the size of the logical volumes before and after.

The /dev/vg01/tmpspool should be restore by restoring the fstab(see previous post) and see if the device is available in /dev/vg01: ls /dev/vg01/tmpspool

Regards,
Peter
Jeffrey F. Goldsmith
Super Advisor

Re: restoring with ignite-ux

sorry that i didnt give the information about the volume sizes. THey were all restored with the same size which is probably why i left that info. out.

Jeffrey F. Goldsmith
Super Advisor

Re: restoring with ignite-ux

Can I restore entire folders with all files that are in them? I think that there are toom many files for me to be doing them one at a time.
Hoefnix
Honored Contributor

Re: restoring with ignite-ux

Jeff,

Yes, you can use the tar command to restore complete directory structures.
# cd /
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar xvf /dev/rmt/0mn /etc
Will restore the /etc directory, check first with tar tvf /dev/rmt/0mn /etc if this contains the files you like to restore. (it could be that the tape does not contain a leading / so use: tar xvf /dev/rmt/0mn etc/)

Be aware that restoring everyting again from the ignite tape will fail because there will be files in use that you try to overwrite during the restore.

Regards,
Peter
Hoefnix
Honored Contributor

Re: restoring with ignite-ux

Jeff,

I checked an ignitetape and there seems to be no leading / in the stored path on tape.
So use:
tar xvf /dev/rmt/0mn etc/

Regards,
Peter