# Pre-Migration Config Capture Run this on the old server before wiping PBS. Tick each off once saved. --- ## OPNsense — both routers (105, 1006) - [ ] System → Configuration → Backups → Download (saves full XML) - [ ] Note any manually installed plugins not in the XML (check Firmware → Plugins) ## zlh-dns (1001) - [ ] Technitium: Settings → Backup → Download backup file - [ ] Note the listening IP/port if non-default ## zlh-proxy / zlh-zpack-proxy (1002, 1004) - [ ] Copy `/etc/traefik/` or wherever config lives - [ ] Note any env vars set in the systemd unit (`systemctl cat traefik`) ## zlh-artifacts (1003) - [ ] `du -sh` the content tree — confirms rsync scope - [ ] Note the Caddy config (file server root path, any auth middleware) ## zlh-velocity (300) - [ ] Note exact Velocity version (`java -jar velocity.jar --version` or check jar filename) - [ ] Copy velocity.toml - [ ] Copy plugins/ dir (custom routing plugin + any others) ## zpac-api (1005) - [ ] Copy .env file — this is the main thing not in git - [ ] Confirm Node version (`node --version`) ## zpac-portal (1100) - [ ] Copy .env / .env.local — not in git - [ ] Confirm Node version ## zlh-monitor (104) - [ ] Copy Prometheus config + any custom dashboards from Grafana (export JSON) - [ ] Note any scrape targets that point to internal IPs — will need updating after migration ## zlh-connect (9000 / Twingate) - [ ] Note the connector name in the Twingate dashboard — you'll re-register a new connector, old one gets removed ## aimeesites (4000) - [ ] Whatever's running in here — note the webroot and any custom config --- ## Quick sweeps (run on each container before rebuild) ```bash # Any cron jobs? crontab -l # Any custom systemd units? systemctl list-units --type=service --state=running | grep -v systemd # Env file locations find /etc /opt /root /home -name ".env" -o -name "*.env" 2>/dev/null ```