psb-gemma-2026-04-17

Source

  • Type: local-file
  • Path: /home/topher/.openclaw/workspace-psb-gemma/memory/2026-04-17.md
  • Bytes: 695
  • Updated: 2026-05-03T01:15:49.067Z

Content

 
## Backup Prune Bug Fix
 
**Issue:** `backup_to_drive.sh` prune logic was deleting the wrong backups — lexicographic sort on wrong column caused newest backups to be removed first. Apr 17 backup was uploaded then immediately pruned.
 
**Fix in `backup_to_drive.sh` line ~148:**
- Old: `sort -t'|' -k3 -r` (sorts by modifiedTime column lexicographically — wrong)
- New: `sort -t'|' -k2 -V -r` (sorts by filename column with version sort — correct)
 
**What was cleaned up manually:**
- Re-ran backup_to_drive.sh — Apr 17 restored to Drive ✅
- Deleted from Drive: Apr 16, Apr 9, Feb 26 backups (all past retention)
 
**Drive now has:** Apr 17 tarball + 2 restore guides. Retention: 3 days.
 

Notes

  • No related pages yet.