EDIT: Solved!
Alright #Linux friends:
I need to insert some Special Magic into my #Bash script that produces daily backups for my instance.
It needs to read the contents of the backup folder, determine how many backups exist and delete the oldest, keeping (x) number of backups.
What might that look like?
This entry was edited (1 week ago)

Kinetix
in reply to *|FNAME|* • • •Out of curiosity - did anyone suggest borg along the way? I used to do backups like how you're doing them, and a few years ago I found borg and haven't looked back. For one server, it has 8.87TB of data in it's archive providing me with some daily, some weekly and some monthly back to May 31, which is compressed & deduplicated down to 841GB on the storage system.
Just want to throw that out there - no suggestion that anything you're doing is at all wrong.