diff --git a/percona-xtradb-cluster-8.0-backup/run_backup.sh b/percona-xtradb-cluster-8.0-backup/run_backup.sh index 0a0c9c1d..9c0d9627 100755 --- a/percona-xtradb-cluster-8.0-backup/run_backup.sh +++ b/percona-xtradb-cluster-8.0-backup/run_backup.sh @@ -88,6 +88,7 @@ backup_volume() { fi trap '' 15 + stat xtrabackup.stream if (($(stat -c%s xtrabackup.stream) < 5000000)); then log 'ERROR' 'Backup is empty' log 'ERROR' 'Backup was finished unsuccessfully' diff --git a/percona-xtradb-cluster-8.4-backup/run_backup.sh b/percona-xtradb-cluster-8.4-backup/run_backup.sh index 0a0c9c1d..9c0d9627 100755 --- a/percona-xtradb-cluster-8.4-backup/run_backup.sh +++ b/percona-xtradb-cluster-8.4-backup/run_backup.sh @@ -88,6 +88,7 @@ backup_volume() { fi trap '' 15 + stat xtrabackup.stream if (($(stat -c%s xtrabackup.stream) < 5000000)); then log 'ERROR' 'Backup is empty' log 'ERROR' 'Backup was finished unsuccessfully'