����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 400_verify_veeam.sh
# check that veeam vbrserver is actually reachable on port 10006
test "${VEEAM_SERVER_HOSTNAME}" || Error "Define VEEAM_SERVER_HOSTNAME (hostname or IP address)"
if netcat -w 3 -z "$VEEAM_SERVER_HOSTNAME" 10006; then
LogPrint "Veeam VBR Server: '$VEEAM_SERVER_HOSTNAME' seems to be up and running."
else
Error "Unable to contact Veeam VBR Server: '$VEEAM_SERVER_HOSTNAME' on port 10006"
fi
# Veeam linux client agent registration
Log "Deleting Veeam SQLite Linux Agent Database"
rm -rf /var/lib/veeam/*
LogPrint "Starting veeamservice agent for linux"
systemctl start veeamservice || Error "Failed to start veeamservice Agent for Linux"
Log "Accept Veeam EULA agreement"
# create directories for EULA agreement
mkdir -p /usr/share/doc/veeam/
touch /usr/share/doc/veeam/EULA
touch /usr/share/doc/veeam/3rdPartyNotices.txt
Log "Query available Veeam VBR Server to trigger license agreement"
yes yes | veeamconfig vbrServer list 1>/dev/null || Error "Unable to query a Veeam VBR server"
LogPrint "Registering Veeam linux client agent to Veeam VBR backup server"
if test "$VEEAM_USER" && { test "$VEEAM_PASSWORD"; } 2>>/dev/$SECRET_OUTPUT_DEV; then
if { veeamconfig vbrServer add --name "$VEEAM_SERVER_HOSTNAME" --address "$VEEAM_IPADDR" --domain "$VEEAM_DOMAIN" --login "$VEEAM_USER" --password "$VEEAM_PASSWORD"; } 2>>/dev/$SECRET_OUTPUT_DEV; then
LogPrint "Veeam linux client agent registered successfully to veeam VBR server: '$VEEAM_SERVER_HOSTNAME'"
else
Error "Veeam linux client agent registration failed as '$VEEAM_DOMAIN\\$VEEAM_USER' at '$VEEAM_SERVER_HOSTNAME' ($VEEAM_IPADDR) failed"
fi
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 400_verify_veeam.sh | File | 1.63 KB | 0644 |
|