summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/bin/checkrestore
blob: ef0360c7e550d43dcb74556c037a435ff3c2e5ce (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 $RESTORE_LIST ; then
    echo "Restore passes all checks."
    exit 0
else
    echo "The restore failed or was already modified!"
    exit 1
fi