mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-15 21:29:40 +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
|
fi
|
||||||
|
|
||||||
# Backup mit BorgBackup erstellen
|
# 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=$?
|
backup_status=$?
|
||||||
|
|
||||||
# Alle gestoppten Container starten
|
# Alle gestoppten Container starten
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ if [ "$mount_successful" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Backup mit BorgBackup erstellen
|
# 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=$?
|
backup_status=$?
|
||||||
|
|
||||||
# Alle gestoppten Container starten
|
# Alle gestoppten Container starten
|
||||||
|
|||||||
Reference in New Issue
Block a user