Operating System - HP-UX
1821245 Members
2698 Online
109632 Solutions
New Discussion юеВ

Restore a single file from tape.

 
kumar82
Occasional Advisor

Restore a single file from tape.

Hi,

Please Help me how to take a backup for a single file from a tape.
9 REPLIES 9
Jollyjet
Valued Contributor

Re: Restore a single file from tape.

hopt this will help you

mt -f /dev/rmt/0mn rew
mt -t /dev/rmt/0mn fsf 1
cd /
tar -xvf /dev/rmt/0m filename
or a complete directory
tar -xvf /dev/rmt/0m directory alter_dir
SANTOSH S. MHASKAR
Trusted Contributor

Re: Restore a single file from tape.

Hi,

Pl. clearify whether
1] U want to take a backup for a single file TO a tape
OR
2] U want to restore a single file from a tape.

If ur answer is 1 then there r various backup/restore utilities which can do operation
on single file

eg. fbackup/frecover, tar, cpio, dd, dump,restore which r available on HP-UX

if ur answer is 2 then restoreing file depends
on the utility u have used for backup, in this case u please specify which utility u
have used for backup.


-Santosh
Jollyjet
Valued Contributor

Re: Restore a single file from tape.

Jollyjet
Valued Contributor

Re: Restore a single file from tape.

I need to take a single file from tape to server
kumar82
Occasional Advisor

Re: Restore a single file from tape.

yes i need to restore a single file from tape.
SANTOSH S. MHASKAR
Trusted Contributor

Re: Restore a single file from tape.

Hi,

As I told earlier, all it depends on which
utility u have used for copying files to tape.
Pl. tell how u have copied the files to tape.

Bill Hassell
Honored Contributor

Re: Restore a single file from tape.

The question is impossible to answer. Please pick from this list the method used to create the tape:

tar
cpio
pax
dump
vxdump
fbackup
omniback
DataProtector
Legato


Bill Hassell, sysadmin
Sp4admin
Trusted Contributor

Re: Restore a single file from tape.

Hello,

Please tell which type of backup was used to store the file. There are many ways to store files like "Tar" and "Netbackup" and a lot more.

sp,
kumar82
Occasional Advisor

Re: Restore a single file from tape.

Thanks for all your help I got the solution.