Skip to content

Run the daily Mongo backup on the box, not over GHA SSH - #825

Open
ptrlrd wants to merge 1 commit into
mainfrom
fix/onbox-mongo-backup
Open

Run the daily Mongo backup on the box, not over GHA SSH#825
ptrlrd wants to merge 1 commit into
mainfrom
fix/onbox-mongo-backup

Conversation

@ptrlrd

@ptrlrd ptrlrd commented Aug 1, 2026

Copy link
Copy Markdown
Owner

The backup workflow has failed publickey auth daily since the box's keys changed (no backup newer than May 19), so the dump/verify/rotate logic moves onto the box as an Ansible-installed cron (install-backup.yml, which also runs one backup immediately to prove it), with optional R2 offload, and the GHA workflow becomes an SSH-free freshness check that fails loudly if the newest archive is over 48 hours old. After merging: run ./bin/do-ansible playbooks/install-backup.yml once (with R2_BACKUP_* env exported for offload), and add the four R2_BACKUP_* repo secrets for the check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant