backup check auf max 8h begrenzt

This commit is contained in:
2023-06-06 20:43:21 +02:00
parent 6c88689a5b
commit 803f9995d8
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ if [ "$mount_successful" -eq 1 ]; then
done
# Backup-Integrität überprüfen
borg_check_result=$(borg check --repository-only "$backup_repository" 2>&1)
borg_check_result=$(borg check --last 2 --max-duration 28800 "$backup_repository" 2>&1)
# Backup-Status und Speicherauslastung prüfen
if [ "$backup_status" -eq 0 ]; then

View File

@@ -48,7 +48,7 @@ if [ "$mount_successful" -eq 1 ]; then
done
# Backup-Integrität überprüfen
borg_check_result=$(borg check --repository-only "$backup_repository" 2>&1)
borg_check_result=$(borg check --last 2 --max-duration 28800 "$backup_repository" 2>&1)
# Backup-Status und Speicherauslastung prüfen
if [ "$backup_status" -eq 0 ]; then