SunQuest
           Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 25th, 2003, 05:36 PM
madhombre madhombre is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: WI
Posts: 247 madhombre User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
ftp mirroring/syncing

Hi, I am setting up a machine to mirror my hosting for backup and also extra development oppotunities.

I have my main site out there and I want to keep the local in sync with that.

Local is redhat 9, remote is also unix based.

Any experience with this anyone?

I have looked at mirroring software and also rsync. rsync seems like the way to go but involves installing it onto my hosting, I probably can do that but I don;t really want too.

Any advice or help?

thanks

Reply With Quote
  #2  
Old June 25th, 2003, 06:48 PM
sandy_eggo sandy_eggo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 sandy_eggo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ftp mirroring/syncing

Don't know if this'll help, but WS_FTP has a utility (ftpsync.exe) that allows you to sync from local --> remote, local <--> remote, or remote --> local.

Reply With Quote
  #3  
Old June 26th, 2003, 01:37 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: ftp mirroring/syncing

You can do it php and cron. One PHP script could be fired by a cron tab the have cron fire another script to ftp the files up to the other server. Then on the other server after enough time has passed have cron untar the files. Kinda a little painful way to do it but FREE

Reply With Quote
  #4  
Old June 27th, 2003, 04:47 PM
madhombre madhombre is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: WI
Posts: 247 madhombre User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: ftp mirroring/syncing

I think wget can do what I need it to do.

thanks


the right program was right under my nose!

Reply With Quote
  #5  
Old August 17th, 2003, 02:13 PM
filefrog filefrog is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West Peoria, IL
Posts: 62 filefrog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to filefrog
RE: ftp mirroring/syncing

The easiest way on UNIX is to yse a program called rsync. It connects and negotiates a transaction that will updated only the mirrored files.

FTPing will always copy all the data. This is bad if all you changed was one file. Rsync uses a binary difference algorithm to send only the changes.

It can also be secured via an SSH tunnel.

Granted this is a PHP forum, but using two independent scripts could cause problems, if, for example, one script didn't finish in time for the other to start correctly.

We set up an rsync box at work for backing up our production server to an identical backup box. On average, it only transmits about 10 megs of data, and its backing up the whole box.

Reply With Quote
  #6  
Old August 17th, 2003, 03:26 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: ftp mirroring/syncing

GOOD TIP! Filefrog

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > ftp mirroring/syncing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway