Operating System - HP-UX
1833275 Members
2878 Online
110051 Solutions
New Discussion

Restore a folder from Ignite tape recovery

 
hdkid
Occasional Contributor

Restore a folder from Ignite tape recovery

Hi everyone!
I have a Integrity server (rx2620), and I backed up the OS (HP-UX) to tape by using make_tape-recovery commands (include a folder which contains the software)

/smssw

When I was backing up with make_tape_recovery (include OS and the above software folder), I stopped the application.

The application owner yesterday did remove many files in that folder.

Please help me to restore entire that folder (/smssw) from ignite tape (make_tape_recovery)

The following is steps I did:

# cd /smssw; rm -rf *
# mt -f /dev/rmt/1mn rew
# mt -f /dev/rmt/1mn fsf 22
# tar -xvf /dev/rmt/1mn smssw

But the folder is still empty. Please help me!

Thanks and Regards!
5 REPLIES 5
Jupinder Bedi
Respected Contributor

Re: Restore a folder from Ignite tape recovery

why are you doing mt -f /dev/rmt/1mn fsf 22


i think you need to use


# mt -f /dev/rmt/1mn fsf 1

This skips over the boot LIF on the tape
All things excellent are as difficult as they are rare
Michal Kapalka (mikap)
Honored Contributor

Re: Restore a folder from Ignite tape recovery

hi,

you oculd also use -t switch in tar command to see if there are some files on the tape :

tar -tvf /dev/rmt/1mn |grep smssw

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: Restore a folder from Ignite tape recovery

hi,

why are you doing mt -f /dev/rmt/1mn fsf 22

because it is an itanium and the os is hpux 11v2/3 there are this difference

mikap
Dennis Handly
Acclaimed Contributor

Re: Restore a folder from Ignite tape recovery

>(include a directory which contains the software) /smssw

This was on the root filesystem?

># cd /smssw; rm -rf *

You probably don't want to remove until you know you can restore.
What does "bdf /smssw" show?
Viktor Balogh
Honored Contributor

Re: Restore a folder from Ignite tape recovery

>Please help me to restore entire that folder (/smssw) from ignite tape

It's always a good (and recommended) practice to back up the OS with ignite and keep a separate backup system for backing up the application files. Since the trouble already came, i hope you can restore the needed files from ignite, but keep in mind the above suggestion. make_*_recovery should only be used for the base OS and the backup should be used in case the server won't boot.
****
Unix operates with beer.