1829009 Members
2472 Online
109986 Solutions
New Discussion

Re: remotly backup

 
Dushyant Tyagi
Occasional Advisor

remotly backup

hi all
i have 2 linux servers. i want to take
the remotly backup.is it possable. if
yes plz tell me which command i should
use.let me tell u our servers name .
hostname is samteldomain and remote
server is sedgzbd.

plz help me
thanx
Dushyant
7 REPLIES 7
Roberto Polli
Trusted Contributor

Re: remotly backup

- How do you want to bkup?
- Do you have a tape or you want to use a remote dir?

surely
info tar
or
man tar will help

Peace, R.


PS Pls check on how to assign points to correct answers: http://forums1.itrc.hp.com/service/forums/helptips.do?#33

V.Tamilvanan
Honored Contributor

Re: remotly backup

Hi,
Make both the system trusted by adding the entries in .rhosts file.


Then you can do remote backup by below comand

tar cvf - /dir/dbfile1 | remsh target dd of=/dev/rct0

See the below link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=569830
Roberto Polli
Trusted Contributor

Re: remotly backup

Hi Tamil.
For hp-ux your solution is ok.

On linux you have to use rsh instead of remsh.
You can specify a network path for bkup

eg. from storage server

#tar cfz[p] bkuphost:/path/to/tarfile.tar.gz /path/to/bkupdir

or, with bzip2
#tar cfj[p] bkuphost:/path/to/tarfile.tar.bz2 /path/to/bkupdir

sure you have to configure pam for rhosts authentication (you can search on this forum how to do it)

Peace, R.
Martin P.J. Zinser
Honored Contributor

Re: remotly backup

And if you do want this all with a nice framework and driven by configurations, have a look at Amanda:

http://www.amanda.org/

HTH,

Martin
Kiyoshi Miyake
Frequent Advisor

Re: remotly backup

How about rsync.
Please see man page of rsync.

Paul Cross_1
Respected Contributor

Re: remotly backup

what ever happened to good old dump???

/sbin/dump -0u -f /dev/st0 backuphost:/dev/rmt0
Paul Cross_1
Respected Contributor

Re: remotly backup


screwed that up... let me try that again:

/sbin/dump -0u -f backuphost:/dev/rmt0 /