Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-01-2003, 10:10 PM   #1
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
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.
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 10:13 PM   #2
[Labret]
Registered User
 
Industry Role:
Join Date: May 2001
Location: Са́нкт-Петербу́рг
Posts: 10,945
I use ncftpget on a cron to grab shit off a different server.

http://www.ncftpd.com/ncftp/doc/ncftpget.html
[Labret] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 10:15 PM   #3
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
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!
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 10:17 PM   #4
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 10:19 PM   #5
Groove
Confirmed User
 
Join Date: Jan 2003
Posts: 3,852
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
Groove is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 10:22 PM   #6
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
Thanks NetRodent and Groove.

How are things Net?
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2003, 11:13 PM   #7
jennycards
Confirmed User
 
Join Date: Feb 2002
Location: European Union
Posts: 1,124
rsync is free and works perfect if you manage to figure out how to install and use it
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-02-2003, 12:34 AM   #8
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
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.
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.