Mirror Debian repositories

To mirror a debian repository you need to know which version, which architecture and which component you want to mirror. You'll find an example configuration below. This example will mirror the main repository for wheezy from ftp2.de.debian.org.

<Repository debian-wheezy-amd64-main>
  url       = http://ftp2.de.debian.org/debian/
  local     = debian-wheezy-amd64-main/debian
  type      = Apt
  arch      = amd64
  dist      = wheezy
  component = main

It is important that the first part of the local option is the same as the repository name. (here: debian-wheezy-amd64-main).