Running Local Mirror

Rashkae ubuntu at tigershaunt.com
Wed Mar 26 12:49:21 UTC 2014


On 14-03-25 10:18 PM, Sajan Parikh wrote:
> I'd like to run a mirror for myself, just on our LAN.
>
> I took a look at the following page, and am glad to see it's just 
> rsync on a cron.
>
> However, I had two questions.
>
> How would I going about mirroring only a specific release, say Trusty.
>
> The page mentions how much space is needed for the whole mirror, 
> however if the above is possible, how much space would I need for just 
> the one release?
>
> Thanks.

You can use the 'debmirror' package to create a mirror with only 
selected releases.  Space required for 1 release, 2 arches (i386 and 
amd64, you need both of them for a complete 64-bit instlal now) and 
sources is about 70 - 80 GB.

Here is an example invocation: (requires 500GB)

debmirror --passive \
--host=your.favorite.nearby.mirror --root=ubuntu/ \
    --method=http  --progress \
--dist=lucid,lucid-updates,precise,precise-updates,quantal,quantal-updates,raring,raring-updates,raring-security 
\
    --section=main,restricted,universe,multiverse \
     --arch=amd64,i386 \
   --ignore-release-gpg  ubuntu





More information about the ubuntu-users mailing list