lftp

Ed Greshko Ed.Greshko at greshko.com
Mon May 10 17:05:30 UTC 2004


On Tue, 2004-05-11 at 00:58, Donna Appleget wrote:
> I am trying to set up a CRON job that will update my mirror site every 
> night.  I figured out how to run lftp which was included in my base 
> install of RHEL.
> 
> I am running the transfer now but when I try to access the site that is 
> being updated, I get a server error "Error 500".
> 
> I am not sure if this is taxing the server that I am updating and won't 
> let me see anything until the transfer is done or if this process is 
> somehow changing the permissions on my files.
> 
> I am thinking that it is just making the server too busy to return pages 
> but I don't know.
> 
> Has anyone else seen this problem?

I've only glanced at the man page for lftp.  However, for doing a
mirror/backup of data it would seem that rsync may be a better choice
depending on the amount of data you have.  It has the advantage of
transferring only files that have changed.  That is, no data changed, no
data moved.  

I use this for mirroring the shorewall.net site as well as user's
email.  Using cron to start the rsync processes every hour.  If very
little has changed, very little bandwidth is used.

Regards,
Ed

-- 
"An opinion is like an asshole - everybody has one."
    - Clint Eastwood as Harry Callahan, The Dead Pool - 1988.





More information about the redhat-list mailing list