1836409 Members
2616 Online
110100 Solutions
New Discussion

Re: Remote backup

 
SOLVED
Go to solution
O'lnes
Regular Advisor

Remote backup

How to use fbackup to remote backup files from other hosts? Thanks.
Andy
10 REPLIES 10
Rodney Hills
Honored Contributor

Re: Remote backup

I can think of two choices right off the top.

1)You could NFS mount the remote file system.

2)You could run fbackup on the remote system and use the "rmt" utility if the tape drive is on another system.

Hope this helps...

-- Rod Hills
There be dragons...
S.K. Chan
Honored Contributor

Re: Remote backup

A typical fbackup command for this would look like ..(assuming "mars" has the drive /dev/rmt/0m and you want to backup everything under /opt from venus). On venus...
# fbackup mars:/dev/rmt/0m -v -i /opt
In order for this to work, root must be able to remsh from vanus to mars (ie you got to setup the appropriate .rhosts permission).
S.K. Chan
Honored Contributor
Solution

Re: Remote backup

sorry ... I missed the "-f" ..
# fbackup -f mars:/dev/rmt/0m -v -i /opt
O'lnes
Regular Advisor

Re: Remote backup

S.K. Chan's method is use remote backup drive to backup local file.
How can I use my local backup drive to backup remote hosts?
Thanks.
Andy
Ravi_8
Honored Contributor

Re: Remote backup

Hi,
To backup the remote host from backup drive machine, NFS mount the filesystems to be backedup from remote host to the machine which has drive. then start the backup.
never give up
harry d brown jr
Honored Contributor

Re: Remote backup

Why not use remsh to the remote host to use your local tape drive?

remsh remotehost -f localhost:/dev/rmt/tapedrive ...


live free or die
harry
Live Free or Die
Thomas M. Williams_1
Frequent Advisor

Re: Remote backup

I am not sure if you have solved your issue yet, but I thought I would let you know What I do. I backup remote systems by mounting an NFS. I have setup the necessary FSs on the remote WrkStion by making entries in the "/etc/exports" file. I then type "exportfs -a". I have created an empty file called ".backup" on each of the remote FSs to be backed-up. My "fbackup" shell checks the remote FSs for this file and then mounts them if indicated. At the conclusion of the backup the shell umounts them. Please call if you would like a complete explanation (810) 234-2078. I could send you the shell I use so you could hack it up to fit your need if you wish.
I Think the Clock is Slow ...
O'lnes
Regular Advisor

Re: Remote backup

I don't want to mount other system to backup cos i think it is unsafe to do that, can suggest other methods? Thanks.
Andy
T G Manikandan
Honored Contributor

Re: Remote backup

#fbackup -0v -i /home -f xx.xx.xx.xx:/dev/rmt/??

should do it.
check for the -f option of fbackup using man pages.

Before you do that make sure that you can do a remsh (without asking for password)to the remote host having a tape drive.

For remsh to work
For this make entries in the remote host .rhosts file in the / directory.

The file should include

xx.xx.xx.xx root

Thanks

O'lnes
Regular Advisor

Re: Remote backup

Hi T G Manikandan,
How can i use local backup drive to backup remote file?
Thanks.
Andy