Hi,
I tend to do something like this in a script:
#!/bin/bash
#
# Delete old gitlab backups
# Variables
GITLABBACKUPS=/var/opt/gitlab/backups
BACKUPDAYS=7
# Cleanup old backups
find $GiTLABBACKUPS -type f -ctime +$BACKUPDAYS -exec rm -f {} \;
change BACKUPDAYS=7
to a number you want. It’s set for 7 days more or less. Then set up a cronjob to run that once a day or something.