[New Feature] Backup script — automated data backup for staging.db, config, and cover letters #9
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
A
scripts/backup.pyis present locally but untracked. This issue tracks getting it cleaned up and committed.Scope
data/staging.db,config/(gitignored), generated cover letters, application logsconfig/server.yaml(local path, or future: rclone remote)cron,systemd timer, or manual./manage.sh backup./manage.sh restore <backup-file>unpacks and replaces data dirAcceptance Criteria
./manage.sh backupcreates a timestamped tarball in configured backup dir.envand any files containing credentials✅ Implemented and closed.
All acceptance criteria met:
scripts/backup.pycommitted and tested./manage.sh backupcreates a timestamped tarball in the configured backup directory.envand credential files excluded from backups./manage.sh restore <backup-file>) validates tarball integrity before replacing data dirconfig/server.yaml