mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-15 21:09:40 +01:00
fixed check command
This commit is contained in:
@@ -47,7 +47,7 @@ if [ "$mount_successful" -eq 1 ]; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Backup-Integrität überprüfen
|
# Backup-Integrität überprüfen
|
||||||
borg_check_result=$(borg check --last 2 --max-duration 28800 "$backup_repository" 2>&1)
|
borg_check_result=$(borg check --last 7 "$backup_repository" 2>&1)
|
||||||
|
|
||||||
# Backup-Status und Speicherauslastung prüfen
|
# Backup-Status und Speicherauslastung prüfen
|
||||||
if [ "$backup_status" -eq 0 ]; then
|
if [ "$backup_status" -eq 0 ]; then
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ if [ "$mount_successful" -eq 1 ]; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Backup-Integrität überprüfen
|
# Backup-Integrität überprüfen
|
||||||
borg_check_result=$(borg check --last 2 --max-duration 28800 "$backup_repository" 2>&1)
|
borg_check_result=$(borg check --last 7 "$backup_repository" 2>&1)
|
||||||
|
|
||||||
# Backup-Status und Speicherauslastung prüfen
|
# Backup-Status und Speicherauslastung prüfen
|
||||||
if [ "$backup_status" -eq 0 ]; then
|
if [ "$backup_status" -eq 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user