Per OpenBSD's documentation for prospective public mirrors, the recommended approach would be to use rsync -rv --delete-delay --delay-updates --fuzzy $SOURCE_MIRROR $YOUR_MIRROR
, where $SOURCE_MIRROR
is your chosen mirror (or perhaps a subdirectory thereof) and $YOUR_MIRROR
is the mirror which you're creating.
There's generally not much to consider if you're just downloading files. If you're the only one using this mirror and it's just to get everything pre-downloaded, then you might even opt to tweak the rsync
command above to only fetch the directories in which you're interested (for example, only for your preferred architectures). If you plan on making it available via HTTP (whether for yourself or for friends/coworkers/family/public/etc.), there's a sample /etc/httpd.conf
available to accomplish precisely that.