S3Sync.net
February 02, 2014, 01:24:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: s3sync / s3put directories and files on modify or create with inotify  (Read 4252 times)
ankaerith
Newbie
*
Posts: 3


View Profile
« on: April 11, 2009, 03:18:58 PM »

I wanted a way to replicate any file system changes to s3 immediately after those changes are made.  Inotify (incron) and s3sync along with a bash script appears to have done the trick. 

The script currently queues all pending uploads and sends them one at a time.  I had fooled around with allowing multiple uploads to go at once, but since I'd never make use of it and it added complexity, I scraped it.  If anyone is interested in a version that allows you to configure the max simultaneous uploads, let me know.

You can download and read about it here: Pseudo Synchronous Replication to Amazon S3

The script currently doesn't support the exclude option of s3sync.  At some point I'd like to add it though. 

Is this useful to anyone?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!