LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-01-2010, 06:24 AM   #1
replica88
Member
 
Registered: Nov 2009
Posts: 48

Rep: Reputation: 15
Is it possible to sync in real time over ftp?


I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.

A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup

Any ideas how I could do this??

Thanks
 
Old 02-01-2010, 07:27 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
This filesystem may be part of your solution:
http://www.furquim.org/chironfs/index.en.html

Yves.
 
Old 02-03-2010, 06:22 AM   #3
replica88
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
This looks like it could do the job, there is not much online documentation and the man page isn't very good so its going to be trail and error!
 
Old 02-03-2010, 07:01 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
How soon does a file need to be detected? You don't want to start ftp'ing it to the backup before the file is finished being uploaded.

You could look at the file alteration monitor daemon and the "fileschanged" client. You can indicate a delay time before reporting the file being changed.

You could also use a cron job to monitor files in the upload directory periodically.
 
Old 02-03-2010, 10:10 AM   #5
jerrybear
LQ Newbie
 
Registered: Feb 2010
Location: Fremont California, USA
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by replica88 View Post
I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.

A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup

Any ideas how I could do this??

Thanks
You can check out the Mirror File System from Twin Peaks Software.
It is a new type of file system that replicates files between servers
in real time.
http://TwinPeakSoft.com/

Jerrybear
 
  


Reply

Tags
availability, cluster, enterprise, filesystems, linux, replication


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
real time kernel not real time, still xruns in Jackd browny_amiga Linux - General 0 09-20-2009 03:47 PM
Need some detail information on Hard Real-Time Systems and Soft real-Time Systems. LinuxInfo General 3 09-22-2008 04:25 AM
Real Time Clock & Real Time Timer jiramak Linux - Newbie 1 09-05-2007 07:43 PM
LXer: Real-time garbage collection with Real-time Java LXer Syndicated Linux News 0 05-05-2007 01:16 PM
LXer: Real-time Linux gains real-time JVM LXer Syndicated Linux News 0 10-12-2006 11:54 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration