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