fixes and improves
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 40s

This commit is contained in:
2026-06-21 12:09:14 -03:00
parent 36a0444344
commit 7ac6d16180
3 changed files with 12 additions and 22 deletions

View File

@@ -42,7 +42,7 @@ Optional:
- `NOTIFY_FAILURE_URL` (default: empty, disabled)
- `NOTIFY_TITLE` (default: `Kubernetes`)
- `NOTIFY_ASSET` (default: `kube config`)
- `CLEANUP_DELETE_COUNT` (default: `5`)
- `CLEANUP_KEEP_COUNT` (default: `4`)
Notification payload (success and failure):
@@ -69,7 +69,7 @@ Notification payload (success and failure):
- Restore warnings/timeouts: logged and counted, script does not fail solely because of restore warnings.
- If `NOTIFY_SUCCESS_URL` is set, success notification is sent at the end of a successful run.
- If `NOTIFY_FAILURE_URL` is set, failure notification is sent when backup failures are detected.
- On successful runs, cleanup removes the last `CLEANUP_DELETE_COUNT` archives by date ordering (oldest side), without deleting the final remaining archive.
- On successful runs, cleanup removes the last `CLEANUP_KEEP_COUNT` archives by date ordering (oldest side), without deleting the final remaining archive.
- Final summary always logs:
- `processed`
- `mapped`