186d7f5d3SJohn Marino 286d7f5d3SJohn Marino Generate daily HEAD snapshots. Basically setup the config file and 386d7f5d3SJohn Marino these files in ~root/snapshots and add a root cron job: 486d7f5d3SJohn Marino 586d7f5d3SJohn Marino 23 2 * * * cd /root/snapshots; lockf -ks -t 0 .buildlock ./docron 686d7f5d3SJohn Marino 786d7f5d3SJohn Marino The snapshots can be made available via rsyncd using a rsyncd.conf 886d7f5d3SJohn Marino file similar to this: 986d7f5d3SJohn Marino 1086d7f5d3SJohn Marinouid = nobody 1186d7f5d3SJohn Marinogid = nobody 1286d7f5d3SJohn Marinouse chroot = yes 1386d7f5d3SJohn Marino 1486d7f5d3SJohn Marino[snapshots] 1586d7f5d3SJohn Marino path = /archive/snapshots 1686d7f5d3SJohn Marino 1786d7f5d3SJohn Marino Another machine can mirror the snapshots using something like this: 1886d7f5d3SJohn Marino 1986d7f5d3SJohn Marino lockf -ks -t 0 /root/adm/.rsynclock2 /usr/pkg/bin/rsync -aHS \ 2086d7f5d3SJohn Marino snapshotbox.domain::snapshots/ /archive/snapshots/ 21