Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbazhenoff committed Jan 7, 2024
1 parent b1fa6ae commit e56b379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/bareos_pool_operations/clean_expired_bareos_volumes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ done



echo "Performing ${POOL_ACTION} \"${POOL_NAME}\" volumes after ${POOL_EXPIRE} days,"
echo "filtered by \"${POOL_FILTER}\" status... Test mode: ${DRY_RUN}"
printf "%s %s\n" "Performing '${POOL_ACTION}' '${POOL_NAME}' volumes after '${POOL_EXPIRE}' days, filtered by" \
"'${POOL_FILTER}' status... Test mode: '${DRY_RUN}'"
if [[ $POOL_ACTION = "delete" ]] || [[ $POOL_ACTION = "prune" ]] || [[ $POOL_ACTION = "purge" ]]; then
cd $POOL_PATH || exit 1
FILELIST=$(find . -mtime +"$POOL_EXPIRE" -print | grep "$POOL_NAME" | sed 's/[./]//g')
Expand Down

0 comments on commit e56b379

Please sign in to comment.