diff --git a/_borg_backup_set_prefix_cleanup.sh b/_borg_backup_set_prefix_cleanup.sh index 04151e1..52eb06e 100755 --- a/_borg_backup_set_prefix_cleanup.sh +++ b/_borg_backup_set_prefix_cleanup.sh @@ -100,7 +100,7 @@ for MODULE in ${MODULE_LIST}; do CMD_PREFIX="sudo -u postgres "; fi; echo "==== REPOSITORY: ${REPOSITORY}"; - borg list --format '{archive}{NL}' ${REPOSITORY}|grep -v "${MODULE},"| + borg list ${OPT_REMOTE} --format '{archive}{NL}' ${REPOSITORY}|grep -v "${MODULE},"| while read i; do # for gitea, zabbix we do not ADD we RENAME if [ "${MODILE}" = "gitea" ]; then