doc/website/content/en/internal/mirror.adoc
Sergio Carlavilla Delgado 989d921f5d Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of
our new website and documentation using
the new toolchain with Hugo and AsciiDoctor.

To get more information about the new toolchain
please read the FreeBSD Documentation Project Primer[1],
Hugo docs[2] and AsciiDoctor docs[3].

Acknowledgment:
Benedict Reuschling <bcr@>
Glen Barber <gjb@>
Hiroki Sato <hrs@>
Li-Wen Hsu <lwhsu@>
Sean Chittenden <seanc@>
The FreeBSD Foundation

[1] https://docs.FreeBSD.org/en/books/fdp-primer/
[2] https://gohugo.io/documentation/
[3] https://docs.asciidoctor.org/home/

Approved by:    doceng, core
2021-01-26 00:31:29 +01:00

20 lines
799 B
Text

---
title: "Mirroring the FreeBSD Web Pages"
sidenav: docs
---
= Mirroring the FreeBSD Web Pages
It is possible to mirror the FreeBSD web pages `www.FreeBSD.org`. This can be done using a program called _rsync_. rsync is a software package in the Ports Collection for distributing and updating collections of files across a network.
== Running rsync
If you keep your mirrored FreeBSD web pages in the directory `/usr/FreeBSD-mirror` and are owned by the user "fred", then run the following command as user "fred":
....
$ rsync -vaHz --delete rsync://bit0.us-west.freebsd.org/FreeBSD-www-data/ /usr/FreeBSD-mirror/
....
This will mirror the FreeBSD web pages into `/usr/FreeBSD-mirror`. You can install this into fred's crontab, so that it runs once a day.
link:..[FreeBSD Internal Home]