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

#----------------------------------------------------------------------------
. /usr/LH/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