Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | H A D | 26-Nov-2011 | 591 | 21 | 13 | |
config | H A D | 10-Oct-2014 | 279 | 11 | 9 | |
dobuild | H A D | 15-Dec-2015 | 3.7 KiB | 133 | 98 | |
doclean | H A D | 10-Oct-2014 | 6.3 KiB | 248 | 175 | |
docron | H A D | 10-Oct-2014 | 193 | 12 | 7 |
README
1 2 Generate daily HEAD snapshots. Basically setup the config file and 3 these files in ~root/snapshots and add a root cron job: 4 5 23 2 * * * cd /root/snapshots; lockf -ks -t 0 .buildlock ./docron 6 7 The snapshots can be made available via rsyncd using a rsyncd.conf 8 file similar to this: 9 10uid = nobody 11gid = nobody 12use chroot = yes 13 14[snapshots] 15 path = /archive/snapshots 16 17 Another machine can mirror the snapshots using something like this: 18 19 lockf -ks -t 0 /root/adm/.rsynclock2 /usr/pkg/bin/rsync -aHS \ 20 snapshotbox.domain::snapshots/ /archive/snapshots/ 21