bbrkn/scripts
goodvin a5ee057c59 deploy: keep config backups out of dnsmasq conf dirs, cap at 10
Backups were written as <conf>.backup.<ts> next to the live file. Both
dnsmasq instances load every file in their conf dir (the host excludes
only .dpkg-*), so each backup was parsed as live config, resurrecting
removed domains and piling up one stale copy per deploy.

Write them to BACKUP_DIR (/var/backups/bbrkn) instead and keep the
newest BACKUP_KEEP (10) per file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DR7zpSsdX28T4Kn6v4jPSS
2026-10-13 20:54:19 +03:00
..
deploy-to-gateway.sh deploy: keep config backups out of dnsmasq conf dirs, cap at 10 2026-10-13 20:54:19 +03:00
generate-configs.sh Migrate bbrkn from legacy ipset to nftables sets 2026-07-24 23:55:16 +03:00
warm-nftset.sh Add warm-nftset.sh — periodic nftset warmer 2026-08-05 20:58:33 +03:00