Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unix to unix copy within LAN - Please help!

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

I have two unix boxes (SCO OpenServer 5.0.6).

Given server LIVE with IP 192.168.0.5 and BACKUP with
IP 192.168.0.8 and lots of files in LIVE server ...

What would be the best method to keep BACKUP server in
synch with LIVE server?

I wrote a simple shell script to scan for and archive
any file changed in last 24 hours. I can take this
archive and ftp from LIVE to BACKUP and then have
another script in BACKUP restore archive ....

There's got to be a better way! I feel as though I have
too many steps and the ideal of BACKUP been behind by 24
hours kind of troubles me.

Please advise of a solution to my situation keeping in
mind that beyond described problem, budget of nay kind
is NOT available :-( ...

Thank you all for your time!

Jose Lerebours
KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
 
I personally don't see any problems with your current process. I presume you have everything automated through cron so your backup process isn't high maintenance. I also hope you are archiving tape backups of your system as well.

If your system is so important that your backup must be more current than 24 hours, then you need to rethink your priorities and budget some funds to put real money into a better solution.

There are solutions to your problem, but they will probably cost some money. If the powers in charge of your budget are unwilling to spend the money, then they will just have to live with re-keying 24 hours worth of data if your system crashes.
 
man rdist
man ordist
Or get a copy of "rsync" from somewhere and compile that bad boy.

Hope you are backing up to tape as well, and you should be running hardware raid too (RAID-1 (mirroring) or RAID 0/1 (striping & mirroring) or RAID-5). When you go for RAID make sure you are informed in some manner when a disk breaks. I see lots of RAID systems out there but when I ask someone if they know whether or not there is broken disk they shrug their shoulders.
 
Thank you guys for your prompt and informative replies.

Yes, I am backing up to tape as well, actually, both LIVE and BACKUP servers ... and Yes, they both use RAID and I get a pager if anything goes down ...

I will give rdist, ordist and rsync a try and see if I exceed my level of incompetance! :)

Thank you both so very much.


Jose Lerebours KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
 
or maybe even uucopy on a timed basis. Think it will set up with network although I've never done it. Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top