GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Easy way to securely synchronize two files which reside on different servers? (Linux) (https://gfy.com/showthread.php?t=159550)

PhillipB 08-01-2003 10:10 PM

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.

[Labret] 08-01-2003 10:13 PM

I use ncftpget on a cron to grab shit off a different server.

http://www.ncftpd.com/ncftp/doc/ncftpget.html

PhillipB 08-01-2003 10:15 PM

Quote:

Originally posted by [Labret]
I use ncftpget on a cron to grab shit off a different server.

http://www.ncftpd.com/ncftp/doc/ncftpget.html


Thanks dude, I'll give it a try!

NetRodent 08-01-2003 10:17 PM

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.

Groove 08-01-2003 10:19 PM

Quote:

Originally posted by APN Philip
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.

RSYNC http://samba.anu.edu.au/rsync/ +
OpenSSH http://www.openssh.com/ +
a cron job

PhillipB 08-01-2003 10:22 PM

Thanks NetRodent and Groove.

How are things Net?

jennycards 08-01-2003 11:13 PM

rsync is free and works perfect if you manage to figure out how to install and use it :)

PhillipB 08-02-2003 12:34 AM

Quote:

Originally posted by jennycards
rsync is free and works perfect if you manage to figure out how to install and use it :)

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