Avoid hardcoded path for BACKUPDIR var
Fixes: PROD-35632
Change-Id: I82aa0cd225f2691878d271cb18b70c249570d551
diff --git a/ceph/files/backup/ceph-backup-server-runner.sh b/ceph/files/backup/ceph-backup-server-runner.sh
index a164bcc..72238f0 100644
--- a/ceph/files/backup/ceph-backup-server-runner.sh
+++ b/ceph/files/backup/ceph-backup-server-runner.sh
@@ -11,7 +11,7 @@
# ---------
echo "Cleanup started. Keeping only $KEEP full backups for every subdir."
echo "============================"
-BACKUP_SUBDIRS=$(find /srv/volumes/backup/ceph/full -maxdepth 1 -mindepth 1 -type d)
+BACKUP_SUBDIRS=$(find $BACKUPDIR -maxdepth 1 -mindepth 1 -type d)
if [ {% raw %}${#BACKUP_SUBDIRS}{% endraw %} -gt 0 ] ; then
for SUBDIR in $BACKUP_SUBDIRS
do