hyperv: Reorganize
[dragonfly.git] / tools / snapshots / README
blob93d8c29cda7be3a7b4b2e55b618eb9184fb65ae5
2     Generate daily HEAD snapshots.  Basically setup the config file and
3     these files in ~root/snapshots and add a root cron job:
5     23 2 * * *      cd /root/snapshots; lockf -ks -t 0 .buildlock ./docron
7     The snapshots can be made available via rsyncd using a rsyncd.conf
8     file similar to this:
10 uid = nobody
11 gid = nobody
12 use chroot = yes
14 [snapshots]
15         path = /archive/snapshots
17     Another machine can mirror the snapshots using something like this:
19     lockf -ks -t 0 /root/adm/.rsynclock2 /usr/pkg/bin/rsync -aHS        \
20         snapshotbox.domain::snapshots/ /archive/snapshots/