ranadhir
asked on
Extracting individual file from tape remotely
can someone provie the syntax to retrieve a file from a remote tape drive using either dd or tar/rsh.I am using Solaris8.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot for the suggestion.Since the 'tar xvf' does not accept pattern matching - I am doing a
tar xvf /dev/rmt/0 `tar tf | grep '<pattern>'` on the machine to which the tape is attached.
Can this same command be fired with the rsh option from a remote machine(using pattern matching facility of tar)
tar xvf /dev/rmt/0 `tar tf | grep '<pattern>'` on the machine to which the tape is attached.
Can this same command be fired with the rsh option from a remote machine(using pattern matching facility of tar)
It should work. The only problem I see is the rcp part, this should be changed in something like this:
rcp -p <hostname>:<path>/<pattern > <local_path>
So, without the <file_to_extract> part.
rcp -p <hostname>:<path>/<pattern
So, without the <file_to_extract> part.
ASKER