This site is now 100% read-only, and retired.

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?

 

 


Re: Offline mirror synchronization.
Posted by etptupaf (158.227.xx.xx) on Fri 18 Nov 2005 at 12:56
I have the same problem and use jigdo-lite to create a pair of DVD-RW that I bring home. jigdo will create DVD's images fairly fast, since it only retrieves the files that have changed.

Another solution (faster, easier) would be to use rsync on a portable hard disk connected through a USB 2.0 port.

[ Parent ]

Re: Offline mirror synchronization.
Posted by ijc (194.200.xx.xx) on Fri 18 Nov 2005 at 13:11
I've not used it myself but does apt-zip do what you need?

[ Parent ]

Re: Offline mirror synchronization.
Posted by Anonymous (213.229.xx.xx) on Fri 18 Nov 2005 at 14:13
and deb-downloader? Maybe it feed your needs.

http://deb-downloader.berlios.de/index.php?lang=en

[ Parent ]

Re: Offline mirror synchronization.
Posted by isilrion (200.55.xx.xx) on Sun 25 Dec 2005 at 05:20
I must apologize seriously... it took me a long time to post back!

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 ]