borgbackup.sh aktualisiert

This commit is contained in:
2025-05-30 15:13:17 +02:00
parent 3f43cb43c0
commit 5b9a88fd14

View File

@@ -180,7 +180,11 @@ borg_info() {
# Borg-Sicherungen aufräumen
# Anzahl der Sicherungen wird in $BORG_PRUNING festgelegt
borg_prune() {
$BORG prune -v --list $BORG_PRUNING "$BORG_REPO"
echo "Bereinige das Backup-Repository..."
$BORG prune -v --list $BORG_PRUNING "$BORG_REPO"
echo "Compactiere das Backup-Repository..."
# Borg compact command is used to reduce the size of the repository by removing unused data.
$BORG compact "$BORG_REPO"
}
# auflisten von Borg-Sicherungen