Send scheduled account backups to an off-site repository #105

Merged
parkel merged 3 commits from feature/offsite-account-backups into main 2026-11-22 16:17:01 +01:00
Owner

Summary

  • Let operators select an encrypted restic repository over SFTP for future scheduled account backups. Keep credentials in root-owned backup-node profiles.
  • Send completed archives from a dedicated worker, verify the retrieved bytes by size and SHA-256, and reuse a snapshot by backup ID after an interrupted or unacknowledged transfer.
  • Show transfer status and recovery identifiers in archive history. Retry temporary failures and keep unverified local archives outside the retention set.
  • Provide node commands to verify access and recover an account archive by backup ID, including after local expiration.

Verification

  • Passed all 497 Django tests, Ruff checks, the migration drift check, and source and wheel verification.
  • Tested Ubuntu 26.04 LTS with systemd, RabbitMQ, and an isolated OpenSSH SFTP destination. Exercised an interrupted transfer, deduplication on retry, SHA-256 read-back, local retention, and extraction of recovered website content after local expiration.

Closes #97.
Refs #90 for the full-server recovery drill.

## Summary - Let operators select an encrypted restic repository over SFTP for future scheduled account backups. Keep credentials in root-owned backup-node profiles. - Send completed archives from a dedicated worker, verify the retrieved bytes by size and SHA-256, and reuse a snapshot by backup ID after an interrupted or unacknowledged transfer. - Show transfer status and recovery identifiers in archive history. Retry temporary failures and keep unverified local archives outside the retention set. - Provide node commands to verify access and recover an account archive by backup ID, including after local expiration. ## Verification - Passed all 497 Django tests, Ruff checks, the migration drift check, and source and wheel verification. - Tested Ubuntu 26.04 LTS with systemd, RabbitMQ, and an isolated OpenSSH SFTP destination. Exercised an interrupted transfer, deduplication on retry, SHA-256 read-back, local retention, and extraction of recovered website content after local expiration. Closes #97. Refs #90 for the full-server recovery drill.
parkel added 3 commits 2026-11-22 16:16:07 +01:00
Configure and monitor off-site copies in the hosting panel
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
0b93754e4c
parkel added the area/backupsarea/deployment
kind
feature
labels 2026-11-22 16:16:08 +01:00
parkel merged commit 71643a9bde into main 2026-11-22 16:17:01 +01:00
parkel deleted branch feature/offsite-account-backups 2026-11-22 16:17:01 +01:00
Sign in to join this conversation.