Skip to content

fix: only mark daily backups complete after success#2

Open
Gujiassh wants to merge 1 commit intoLeoYeAI:mainfrom
Gujiassh:fix/daily-backup-retry
Open

fix: only mark daily backups complete after success#2
Gujiassh wants to merge 1 commit intoLeoYeAI:mainfrom
Gujiassh:fix/daily-backup-retry

Conversation

@Gujiassh
Copy link

@Gujiassh Gujiassh commented Mar 6, 2026

Summary

  • only update the daily backup marker after git add/git commit succeeds or there is nothing new to snapshot
  • keep failed backup attempts retryable instead of silently marking the day as complete

Testing

  • bash -n scripts/guardian.sh

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