I have a system which uploads data to my FTP server periodically. I need to upload any files that arrive to a second (and possibly third) FTP server.
The points that make it not fit a traditional mirroring is that (a) my FTP server needs to push the files out to the other server(s) rather than have them pull the files in, and (b) the data needs to be synchronised as fast as possible after it arrives (the files are alarm logs amongst other things). So an hourly or daily cronjob won't suffice.
Although I have control over my own FTP server, I can't make any assumptions about the third party servers in terms of their O/S, functionality, FTP server software, etc.
Any suggestions for the best place to start with this?
On 06 Jul 12:00, Mark Rogers wrote:
I have a system which uploads data to my FTP server periodically. I need to upload any files that arrive to a second (and possibly third) FTP server.
The points that make it not fit a traditional mirroring is that (a) my FTP server needs to push the files out to the other server(s) rather than have them pull the files in, and (b) the data needs to be synchronised as fast as possible after it arrives (the files are alarm logs amongst other things). So an hourly or daily cronjob won't suffice.
Although I have control over my own FTP server, I can't make any assumptions about the third party servers in terms of their O/S, functionality, FTP server software, etc.
Any suggestions for the best place to start with this?
inoticoming + small script round lftp that does mirror -R
On 06/07/12 12:47, Brett Parker wrote:
inoticoming + small script round lftp that does mirror -R
Thanks. I've played with inotify before so that makes sense. Not used lftp but will go and play.