[FEATURE] Backup: Towers of Hanoi rotation strategy #3271#3272
[FEATURE] Backup: Towers of Hanoi rotation strategy #3271#3272mkf-sysangels wants to merge 2 commits into
Conversation
[FEATURE] Backup: Towers of Hanoi rotation strategy bunkerity#3271 translations by claude.ai
There was a problem hiding this comment.
Pull request overview
Adds a new “Towers of Hanoi” backup rotation strategy to the Backup core plugin, alongside integrity features (checksums + verification) and operational safeguards, extending BunkerWeb’s backup capabilities beyond simple FIFO retention.
Changes:
- Add
BACKUP_SCHEDULE=hanoi(hourly job) with Towers of Hanoi rotation (24 files, ~85 days coverage). - Add SHA-256 checksum generation for backups, checksum verification on restore, and a new
bwcli plugin backup checkcommand. - Add a disk-space pre-flight check before dumping and adjust locking behavior to reduce lock hold time.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
src/common/core/backup/plugin.json |
Exposes hanoi schedule, adds restore checksum override setting, schedules job hourly, adds new bwcli command. |
src/common/core/backup/jobs/backup-data.py |
Implements hourly schedule handling, Hanoi rotation invocation, WAL/lock behavior changes, adds debug logging. |
src/common/core/backup/bwcli/save.py |
Updates CLI save to use WAL detection + post-dump unlocking, integrates updated backup API. |
src/common/core/backup/bwcli/check.py |
New CLI command to verify backup checksums. |
src/common/core/backup/backup.py |
Adds disk-space check, Hanoi rotation logic, checksum write/verify, restore-time verification, and post-dump hook support. |
src/common/core/backup/README.md |
Documents new schedule, checksum behavior, disk-space check, and new CLI command. |
src/common/core/backup/README.zh.md |
Translated docs updated for new schedule/checksum/CLI features. |
src/common/core/backup/README.fr.md |
Translated docs updated for new schedule/checksum/CLI features. |
src/common/core/backup/README.es.md |
Translated docs updated for new schedule/checksum/CLI features. |
src/common/core/backup/README.de.md |
Translated docs updated for new schedule/checksum/CLI features. |
|
Hello @TheophileDiot the PR is ready for code audit and public preview |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 5 minutes and 32 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (11)
Comment |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
[FEATURE] Backup: Towers of Hanoi rotation strategy #3271
translations by claude.ai