Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-Feb-2023 | - | ||||
README | H A D | 08-May-2022 | 591 | 21 | 13 | |
config | H A D | 08-May-2022 | 279 | 11 | 9 | |
dobuild | H A D | 08-May-2022 | 3.7 KiB | 133 | 98 | |
doclean | H A D | 08-May-2022 | 6.3 KiB | 248 | 175 | |
docron | H A D | 08-May-2022 | 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