Offline mirror synchronization.
Posted by isilrion on Fri 18 Nov 2005 at 12:49
I have a very slow internet connection at home (I'm lucky when I reach 3k/sec), where I use Debian. As my university keeps a local mirror, I decided to copy it and have it readily available from home. The problem is, every time I want to update it, I must take out my hard disk, fill the paperwork required to get it into the university and download/rsync the mirror.
I've been looking for an alternative, perhaps an utility that will take a "snapshot" of my local repository at home, and then at school find what needs to be updated, hopefully it will fit in a few CDs if I do it frequently enough. I have not found anything, I'm about to implement it myself if I can't find something that may help me... Do you know of any "offline directory synchronization" tool like this, or any alternative solution to my problem?
Another solution (faster, easier) would be to use rsync on a portable hard disk connected through a USB 2.0 port.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
Well, unfortunately neither of the proposed solutions worked for me (I can't produce details right now, but bottom line is, I couldn't use them to keep a whole mirror up to date, only partial ones at best)
Just when I was about to start hacking a python scritp to do that, I found about the BATCH mode of rsync... and I thought it was pretty close to what I wanted (but producing the diffs was still too expensive). After reading the rsync mailing list for a while, this solution was mentioned:
apt-get install duplicity && man rdiffdir
I'm holding right now a 230Mb 'signature' file, and this monday I'll proceed to obtain a 'deltha' and patch my local repository... I hope that works.
Thanks for your quick help, and please forgive my delay!
[ Parent | Reply to this comment ]