Update 'docker/mysqlclient/scripts/backupdb.sh'

This commit is contained in:
2022-10-09 16:23:16 +01:00
parent a771b44a57
commit 8a22e27d3a

View File

@@ -11,8 +11,9 @@
#any error must stop execution
set -e
if [ $DUPLICATI__OPERATIONNAME != "Backup" ]
then
if [ $DUPLICATI__OPERATIONNAME == "Backup" ]
echo "Backup Job!!"
else
echo "Not a backup operation. exiting!"
#OK, run operation
exit