borgsynology.sh aktualisiert

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

View File

@@ -182,7 +182,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