Operating System - HP-UX
1754849 Members
5462 Online
108827 Solutions
New Discussion юеВ

backup to remote server's tape drive

 
YatzekCS
New Member

backup to remote server's tape drive

Hi,
I tried to do a backup of blade server (no tape drive) running hp-ux 11.23 Itanium to a remote tape drive (DLT7000) on Hp-ux 11.11. Setup .rhosts files on both systems but still can not access the remote tape drive. Tried to run fbackup from the prompt with the same result.
fbackup -f remoteserver:/dev/rmt/0m -i /etc -I /tmp/index.etc
returns
fbackup(1401): extra argument: /tmp/index.jack ignored
fbackup(1004): session begins on Thu Apr 10 12:53:52 2008
fbackup(3301): could not open output file remoteserver:/dev/rmt/0m
fbackup(3019): would you like to enter a new output file?

Can anyone tell me how to do it?
Thanks,
Jack.
3 REPLIES 3
Andres_13
Respected Contributor

Re: backup to remote server's tape drive

The sintax should be like this:
# fbackup -v -f hostb:/dev/rmt/0m -i /var/service/scripts

# frecover -xvN -f hostb:/dev/rmt/0mn

And also you can try as follows:

Refer to the following which is the syntax you need to use.
However, this is not supported by HP and there are no guarantees.
This is done through an experiment and has been known to work.

On the system without the tape drive do the following:

1. mknod -p /tmp/pipe

2. dd if=/tmp/pipe bs=???? | remsh hostname "dd of=/dev/rmt/0m bs=????"&

3. tar -cvf /tmp/pipe /.

On the system with the tape drive for restoring purposes, do the
following:

1. dd if=/dev/rmt/0m bs=???? | remsh hostname "dd of=/tmp/pipe"&

2. remsh hostname "tar -xvf /tmp/pipe"

or from the system without the tape drive run:

tar -xvf /tmp/pipe after starting the dd on the remote system

Hope this helps. Rgs!
YatzekCS
New Member

Re: backup to remote server's tape drive

Thanks for the info. My problem is solved and it was me... small error in the etc/hosts was causing it.
All good now.

Thanks,
Jack.
YatzekCS
New Member

Re: backup to remote server's tape drive

.rhosts and /etc/hosts were messed up.