sauvegardes/bin/dochecksb

18 lines
566 B
Plaintext
Raw Permalink Normal View History

2023-01-16 19:44:21 +01:00
#!/bin/bash
echo "================================================================================"
echo " Checks du "$(date)
echo "================================================================================"
REPO_DIR="/var/backups/borg"
2023-01-17 18:15:43 +01:00
cd $REPO_DIR
for REPO in $(ls -d *.repo); do
2023-01-16 19:44:21 +01:00
echo "$REPO"
2023-01-17 18:15:43 +01:00
borg check --info /var/backups/borg/${REPO}
2023-01-16 19:44:21 +01:00
echo "================================================================================"
done
echo "Ended at: "`date`
echo "================================================================================"