#!/bin/bash echo "================================================================================" echo " Prunes du "$(date) echo "================================================================================" REPO_DIR="/var/backups/borg" for REPO in $(ls -d ${REPO_DIR}/*.repo); do echo "$REPO" borg prune --keep-within 3d --keep-daily 7 --keep-weekly 8 --keep-monthly 6 --info --list --stats /var/backups/borg/sauvkipeu.repo/ echo "================================================================================" done echo "Ended at: "`date` echo "================================================================================"