diff --git a/backup.sh b/backup.sh index 40ff8811..9f399f59 100755 --- a/backup.sh +++ b/backup.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="26" +SCRIPT_VERSION="27" GREEN='\033[0;32m' YELLOW='\033[1;33m' @@ -49,6 +49,10 @@ if [ -d /meshcentral/meshcentral-backup ]; then rm -rf /meshcentral/meshcentral-backup/* fi +if [ -d /meshcentral/meshcentral-backups ]; then + rm -rf /meshcentral/meshcentral-backups/* +fi + if [ -d /meshcentral/meshcentral-coredumps ]; then rm -f /meshcentral/meshcentral-coredumps/* fi