mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
don't unmount the daily backup drive if only the backup check is running (#2271)
This commit is contained in:
parent
4d9a782b94
commit
3cd8795fb3
@ -680,10 +680,13 @@ fi
|
||||
show_drive_usage
|
||||
|
||||
# Unmount the backup drive
|
||||
inform_user "$ICyan" "Unmounting the backup drive..."
|
||||
if mountpoint -q "$BACKUP_MOUNTPOINT" && ! umount "$BACKUP_MOUNTPOINT"
|
||||
if [ -z "$SKIP_DAILY_BACKUP_CREATION" ]
|
||||
then
|
||||
send_error_mail "Could not unmount the backup drive!" "Backup integrity check"
|
||||
inform_user "$ICyan" "Unmounting the backup drive..."
|
||||
if mountpoint -q "$BACKUP_MOUNTPOINT" && ! umount "$BACKUP_MOUNTPOINT"
|
||||
then
|
||||
send_error_mail "Could not unmount the backup drive!" "Backup integrity check"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Resetting the integrity Check
|
||||
|
||||
Loading…
Reference in New Issue
Block a user