1834149 Members
2298 Online
110064 Solutions
New Discussion

Re: run remote fbackup

 
SOLVED
Go to solution
juno2
Super Advisor

run remote fbackup

I would like to run fbackup to remote backup other host , how can I do it ? thx
12 REPLIES 12
T G Manikandan
Honored Contributor

Re: run remote fbackup

Assume you are to backup "A" on remote machine "B"

On "B"
make sure that you have entries in the /.rhosts file

like

A root

check the same using
from "A"
#remsh B

Then from A do a fbackup as
# fbackup -f r:/dev/rmt/0m -v -i /

i.e
#fbackup -f A:/dev/rmt/0m -v -i /home


Thanks
Denver Osborn
Honored Contributor

Re: run remote fbackup

Here's the basic setup...

HostA = files to backup
HostB = remote w/ tape drive

On HostB setup the ~/.rhosts file to contain HostA root info. Now run your fbackup from HostA.

fbackup -i /path -f HostB:/dev/rmt/0m


Hope this helps,
denver
T G Manikandan
Honored Contributor
Solution

Re: run remote fbackup

With my assumption the actual command should be
* Machine B is remote"

#fbackup -f B:/dev/rmt/0m -v -i /home
juno2
Super Advisor

Re: run remote fbackup

if i use tar instead of fbackup , what can i do ? thx
juno2
Super Advisor

Re: run remote fbackup

If I would like to use local tape drive to backup (tar) the file on remote hosts , what can i do? thx
T G Manikandan
Honored Contributor

Re: run remote fbackup

If you are to backup to the remote tape drive and restore
backup
#tar cvf - /home | remsh remote_system dd of=/dev/rmt/0m

restore
#remsh remote_system "dd if=/dev/rmt/0m " | tar -xvf -


juno2
Super Advisor

Re: run remote fbackup

Dear TG,
i tried r method , my script is "tar cvf - /tmp |rsh remote_host dd of=/dev/rmt/0m" it still tar the local /tmp path , what is wrong in my script ? thx.
T G Manikandan
Honored Contributor

Re: run remote fbackup

Yes,that should be the case.

you are backing up the local /tmp into the remote tape drive.

Run these commands on the system where there is no tape drive


Thanks
juno2
Super Advisor

Re: run remote fbackup

Dear TG,

I hv a tape drive on local server , how to tar the remote file to the local tape drive ? thx.
juno2
Super Advisor

Re: run remote fbackup

I meet another problem, after I run tar to remote backup file to host B's tape drive from local host A , then the host B can't use the "tar -r" to append the file to the tape , what is wrong in the tar function ? thx.
juno2
Super Advisor

Re: run remote fbackup

please ignore my previous questions , thx.
juno2
Super Advisor

Re: run remote fbackup

Thx TG,

I work fine to run remote tar backup , but how can I generate a backup log because I want to know whether it is successfully backup ? thx.