summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/bin/checkbackup
blob: 129e5ff32270c9f42dd8c01c104f6ec7ad8704ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

#----------------------------------------------------------------------------
. $LinHES_ROOT/bin/backupcommon || {
    echo 1>&2 "Can not load common settings!"
    exit 1
}
#----------------------------------------------------------------------------

if check_files_and_tables $BACKUP_LIST  ; then
    echo "Backup passes all checks."
    exit 0
else
    echo "The backup is bad or already out of date!"
    exit 1
fi