![]() |
Easy way to securely synchronize two files which reside on different servers? (Linux)
I need to find a program for Linux which copies a file on one server to a file on another server at regular intervals.
Any ideas? Would be cool if it used a secure file transfer protocol. |
I use ncftpget on a cron to grab shit off a different server.
http://www.ncftpd.com/ncftp/doc/ncftpget.html |
Quote:
Thanks dude, I'll give it a try! |
Use rsync over ssh, both are standard on most *nix systems. Read the man pages, but the following is the basic idea:
rsync -p -e ssh /path/to/local remote.host.com:/path/to/remote The beauty of rsync is that you can use it on whole directories and it will only transfer the files that are different. |
Quote:
OpenSSH http://www.openssh.com/ + a cron job |
Thanks NetRodent and Groove.
How are things Net? |
rsync is free and works perfect if you manage to figure out how to install and use it :)
|
Quote:
The hard part was configuring the RSA keys with SSH, but after that, it wasn't too bad. Thanks again. |
All times are GMT -7. The time now is 01:54 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123