mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-15 18:09:39 +01:00
fixed backup_result sending to much information
This commit is contained in:
@@ -38,7 +38,7 @@ if [ "$mount_successful" -eq 1 ]; then
|
||||
fi
|
||||
|
||||
# Backup mit BorgBackup erstellen
|
||||
backup_result=$(borg create --progress --list --stats --compression lz4 "$backup_repository"::'{hostname}-{now:%Y-%m-%d_%H:%M:%S}' $data_dir 2>&1)
|
||||
backup_result=$(borg create --stats --compression lz4 "$backup_repository"::'{hostname}-{now:%Y-%m-%d_%H:%M:%S}' $data_dir 2>&1)
|
||||
backup_status=$?
|
||||
|
||||
# Alle gestoppten Container starten
|
||||
|
||||
@@ -39,7 +39,7 @@ if [ "$mount_successful" -eq 1 ]; then
|
||||
fi
|
||||
|
||||
# Backup mit BorgBackup erstellen
|
||||
backup_result=$(borg create --progress --list --stats --compression lz4 "$backup_repository"::'{hostname}-{now:%Y-%m-%d_%H:%M:%S}' $data_dir 2>&1)
|
||||
backup_result=$(borg create --stats --compression lz4 "$backup_repository"::'{hostname}-{now:%Y-%m-%d_%H:%M:%S}' $data_dir 2>&1)
|
||||
backup_status=$?
|
||||
|
||||
# Alle gestoppten Container starten
|
||||
|
||||
Reference in New Issue
Block a user