#!/bin/bash

BACKUP_DIR="/opt/bucket-files/plane-backups"

cd "$BACKUP_DIR" || exit

ls -1v backup_*.sql | head -n -5 | xargs -r rm --
