• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Noulakaz

Noulakaz

The blog of Avinash, Christina, Anya and Kyan Meetoo.

  • Home
  • About
  • People
    • Christina & Avinash Meetoo
    • Avinash Meetoo
    • Christina Meetoo
    • Anya Meetoo
    • Kyan Meetoo
  • General
    • News
    • Mauritius
    • Politics
    • Education
    • Business
    • Travel
  • Computing
    • Apple
    • Linux
    • LUGM
    • Programming
    • Web
    • Technology
    • Knowledge Seven
  • Entertainment
    • Music
    • Movies
    • Photography
    • Sports

Synchronizing two computers using Amazon S3

18 April 2007 By Avinash Meetoo 11 Comments

I’ve moved to Amazon S3. I can now store 1Gb of data online at $0.15 per month (Rs 5). Transfers cost $0.20 per Gb (Rs 6.50). This is extremely cheap for the peace of mind you can enjoy when you know “your data is safe sitting on Amazon’s geo-redundant servers right between some bits describing a new book from Oprah and a bad review on latest Ben Affleck movie!”

I have downloaded and started using Jungle Disk and it works great! Jungle Disk (simply said) allows you to mount your S3 online storage as a normal drive. It even caches data and transfers in the background so, in most cases, you don’t even think you are working online. It is multiplatform (Linux, Mac OS X and Windows) and is free (for the time being – the source is also available)

This is all great… except for one major issue: I don’t want to do backups! I want synchronization!

Let me explain. I use my MacBook at home and one Linux PC at work. I want to be able to access my files both at home and at work. Naturally, I can do this by moving all my files to S3 and then use Jungle Disk to access them transparently. Unfortunately, this scheme does not work when the Internet connection is down and no local cached copy of the data exists. And having no Internet connection in our poor country is relatively common.

One solution would be to have the data locally on the MacBook and on the Linux PC. Then S3 would be used as an intermediate to synchronize the two computers. Unfortunately, I have no idea how to do this. I’ve been reading about s3sync.rb and rsync (over the Jungle Disk mount) but I do not understand how to do file synchronization with them. I’ve also read about unison but I am not too confident of its performance with respect to S3…

Any idea?

Filed Under: Apple, Linux, Technology, Web

Reader Interactions

Comments

  1. John says

    19 April 2007 at 03:09

    You might want to check out jets3t.

    http://jets3t.s3.amazonaws.com/applications/synchronize.html

  2. avinash says

    19 April 2007 at 08:49

    Thanks John for this tip and your inspiring article

  3. frederic says

    19 April 2007 at 09:06

    It isn’t relevant with the limited upload bandwidth we have here in Mauritius. I just can’t see me uploading 1 GB or more of data anywhere. That’s just not a feasible issue.

  4. avinash says

    19 April 2007 at 11:26

    Yes, 128kbit/s is slow. But only the initial upload will take a long time. As soon as this is done (i.e. after some days or even weeks) then you can enjoy having all your data online.

    The fact is you don’t have to wait. The data is still available locally. The initial upload can proceed in the background without you even noticing. And you can do it little by little. No need to have your computer on for weeks…

    For the time being I only want to upload around 1Gb of work-related data (my personal data is regularly backed up on an external drive) to be able to work from home… And I only create a maximum of 1Mb of new work-related data every day so incrementally updating S3 will be extremely fast if I can identify a nice file synchronisation application which is multiplatform and free.

  5. Eddy Young says

    19 April 2007 at 16:26

    One word: CVS. OK, I’ll throw in another one for FREE: Subversion :-)

    Seriously, this is interesting in that it opens avenues for RDBMS-less applications; just dump objects into S3! I’ll have to explore that.

    Eddy

  6. avinash says

    19 April 2007 at 17:47

    But what CVS and Subversion server?

    Is the something somewhere where I pay only $0.15 per Gb (unlimited) apart from S3. I’m planning (in the very very long run) to have 100 Gb there (all my files + MP3 + photos + film on my kids growing up + etc)

    PS: I am exploring synchronize (from jets3t) right now and it seems to be very good. In fact, I am uploading my first Gb at this very moment from work…

  7. Eddy Young says

    19 April 2007 at 19:58

    I have read about the S3 tools summarily, but all seem to work on the concept of mapping S3 to a local drive. So… you could set up a local repository on that drive, then use CVS/Subversion command to keep your files in sync.

    I would recommend Assembla for free Subversion, but the repository size limits (200 MB per “space”) may not suit your needs.

    http://assembla.com/tour

    I am also looking into S3 although I’m a bit wary of putting my life onto someone else’s servers.

  8. avinash says

    20 April 2007 at 00:27

    Yes and no.

    When you use something like Jungle Disk or FUSE then you essentially have a mapped drive onto S3.

    But I am currently using jets3t to upload files to S3 and it feels much more like a FTP server. The trick is to work locally (say at home) and, just before switching off, synchronise your HD with S3. Then you go to work and synchronise your computer there to get the new files…

    It a pain in the ass I know (it would have been much better to work online) but bandwidth and reliability of the connection are laughable here as you know.

  9. Eddy Young says

    21 April 2007 at 00:10

    I tried jets3t, and indeed synchronize seems to be the perfect fit for your needs. The usage would be exactly similar to that of a CVS client: update from server, modify, commit to server, and so on.

    You may want to look into a version-control system also. Not only you’d be able to synchronise your files, but you’d get the added benefit of managing versions. I use Subversion with Assembla, and the combination works great. The big problem remains finding a free/cheap repository that would give you the same amount of storage space as Amazon S3.

  10. Khalil A. says

    21 April 2007 at 10:04

    Well, I’m lucky that you’ve blogged about Amazon S3 about now. I’ve been looking at a variety of hosts and I must that Amazon S3 beats them all.

    Gosh, I miss blogging. But once I’m set-up, I should be back quickly enough.

  11. econclubmu says

    25 April 2007 at 06:39

    I use xdrive, its an aol subsidiary. It gives you 5GBs for free. All you need is aim account or you can sign up for one with them. It’s been pretty reliable for the past year that I’ve used it and has an easy interface. http://www.xdrive.com/

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Our Personal Websites

Avinash Meetoo
Christina Meetoo
Anya Meetoo
Kyan Meetoo

Related Posts

  • Preserving digital memories
  • My Apple MacBook is faulty!
  • Using jigdo to rebuild a Linux ISO image
  • Complete migration towards Mac OS X

Random Posts

  • X-Plane 9 simulator on Linux
  • OSS2011: Seminar on Linux and OSS on 22 June 2011
  • World Cup 2010 TV Guide for Android
  • Trump says: money is overrated, like private tuitions

Archives

  • May 2025 (2)
  • April 2025 (4)
  • January 2025 (3)
  • December 2024 (2)
  • November 2024 (2)
  • October 2024 (3)
  • September 2024 (7)
  • August 2024 (1)
  • July 2024 (1)
  • June 2024 (2)
  • May 2024 (3)
  • January 2024 (2)
  • December 2023 (1)
  • October 2023 (1)
  • September 2023 (4)
  • August 2023 (3)
  • July 2023 (1)
  • June 2023 (4)
  • May 2023 (1)
  • April 2023 (1)
  • March 2023 (5)
  • February 2023 (1)
  • December 2022 (1)
  • November 2022 (1)
  • October 2022 (4)
  • August 2022 (4)
  • July 2022 (3)
  • June 2022 (5)
  • May 2022 (5)
  • January 2022 (3)
  • December 2021 (2)
  • November 2021 (1)
  • October 2021 (1)
  • September 2021 (4)
  • August 2021 (2)
  • July 2021 (14)
  • May 2021 (2)
  • April 2021 (4)
  • March 2021 (9)
  • February 2021 (2)
  • January 2021 (1)
  • October 2020 (1)
  • September 2020 (1)
  • August 2020 (2)
  • July 2020 (5)
  • June 2020 (3)
  • May 2020 (5)
  • April 2020 (6)
  • March 2020 (2)
  • February 2020 (2)
  • January 2020 (2)
  • October 2019 (1)
  • September 2019 (2)
  • July 2019 (2)
  • June 2019 (1)
  • May 2019 (3)
  • April 2019 (2)
  • March 2019 (1)
  • February 2019 (1)
  • January 2019 (3)
  • December 2018 (1)
  • October 2018 (3)
  • August 2018 (2)
  • July 2018 (2)
  • June 2018 (1)
  • May 2018 (2)
  • April 2018 (1)
  • February 2018 (1)
  • December 2017 (1)
  • October 2017 (1)
  • September 2017 (1)
  • August 2017 (1)
  • July 2017 (1)
  • May 2017 (4)
  • April 2017 (3)
  • March 2017 (4)
  • February 2017 (5)
  • January 2017 (3)
  • October 2016 (1)
  • September 2016 (1)
  • August 2016 (4)
  • July 2016 (1)
  • June 2016 (1)
  • March 2016 (3)
  • February 2016 (3)
  • January 2016 (1)
  • December 2015 (1)
  • November 2015 (2)
  • September 2015 (1)
  • August 2015 (3)
  • March 2015 (1)
  • December 2014 (1)
  • November 2014 (4)
  • October 2014 (1)
  • March 2014 (2)
  • February 2014 (3)
  • December 2013 (1)
  • October 2013 (1)
  • September 2013 (1)
  • August 2013 (1)
  • July 2013 (1)
  • June 2013 (2)
  • May 2013 (1)
  • March 2013 (3)
  • January 2013 (2)
  • December 2012 (3)
  • November 2012 (4)
  • September 2012 (3)
  • August 2012 (2)
  • July 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (2)
  • February 2012 (1)
  • January 2012 (4)
  • December 2011 (2)
  • November 2011 (1)
  • October 2011 (4)
  • September 2011 (2)
  • August 2011 (1)
  • July 2011 (2)
  • June 2011 (4)
  • April 2011 (7)
  • March 2011 (2)
  • February 2011 (1)
  • January 2011 (3)
  • November 2010 (3)
  • October 2010 (1)
  • September 2010 (2)
  • August 2010 (4)
  • July 2010 (2)
  • June 2010 (1)
  • May 2010 (3)
  • April 2010 (4)
  • March 2010 (3)
  • February 2010 (3)
  • January 2010 (5)
  • December 2009 (2)
  • November 2009 (3)
  • October 2009 (1)
  • September 2009 (5)
  • August 2009 (3)
  • July 2009 (1)
  • June 2009 (3)
  • May 2009 (2)
  • April 2009 (7)
  • March 2009 (12)
  • February 2009 (10)
  • January 2009 (5)
  • December 2008 (4)
  • November 2008 (11)
  • October 2008 (6)
  • September 2008 (7)
  • August 2008 (3)
  • July 2008 (8)
  • June 2008 (6)
  • May 2008 (5)
  • April 2008 (7)
  • March 2008 (6)
  • February 2008 (3)
  • January 2008 (6)
  • December 2007 (11)
  • November 2007 (10)
  • October 2007 (7)
  • September 2007 (9)
  • August 2007 (3)
  • July 2007 (7)
  • June 2007 (8)
  • May 2007 (14)
  • April 2007 (11)
  • March 2007 (18)
  • February 2007 (14)
  • January 2007 (15)
  • December 2006 (16)
  • November 2006 (10)
  • October 2006 (7)
  • September 2006 (8)
  • August 2006 (8)
  • July 2006 (6)
  • June 2006 (4)
  • May 2006 (13)
  • April 2006 (10)
  • March 2006 (11)
  • February 2006 (7)
  • January 2006 (14)
  • December 2005 (8)
  • November 2005 (6)
  • October 2005 (7)
  • September 2005 (2)
  • August 2005 (6)
  • July 2005 (2)
  • June 2005 (6)
  • May 2005 (15)
  • April 2005 (12)
  • March 2005 (3)
  • February 2005 (8)
  • January 2005 (3)
  • December 2004 (1)
  • November 2004 (2)
  • October 2004 (2)
  • September 2004 (3)
  • August 2004 (3)
  • July 2004 (3)
  • June 2004 (3)
  • May 2004 (6)
  • April 2004 (10)
  • March 2004 (12)
Creative Commons License This work is licensed by Avinash Meetoo under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported License.