1832647 Members
2868 Online
110043 Solutions
New Discussion

error reading from tape

 
SOLVED
Go to solution
Ratzie
Super Advisor

error reading from tape

I htink I probably have the syntax wrong but I can not read from an OS tape backup, from make_tape_recovery

mt -f /dev/rmt/3mn rewind
mt -f /dev/rmt/3mn fsf 1
tar -xvf /dev/rmt/3mn /home/user

Meaning I just want to extract /home/user directory.

Thanks all
2 REPLIES 2
Marvin Strong
Honored Contributor
Solution

Re: error reading from tape

I don't think here should be a / in front of /home/user. example below.

Also make sure you are in the correct directory.

Assuming of course 3m is the correct tape device.

# cd /
# mt -t /dev/rmt/3mn rew
# mt -t /dev/rmt/3mn fsf 1
# tar -xvf /dev/rmt/3m home/user

Ratzie
Super Advisor

Re: error reading from tape

perfect