diff --git a/contrib/backup/functions b/contrib/backup/functions index 361ba641f..0700aeb8a 100644 --- a/contrib/backup/functions +++ b/contrib/backup/functions @@ -199,6 +199,14 @@ function restore_zammad () { # See #3160 for the reasons of this :> restore_files fi + + # Ensure all data is loaded from the restored database and not the cache of the previous system state + echo "# Clearing Cache ..." + if command -v zammad > /dev/null; then + zammad run rails r "Cache.clear" + else + ${ZAMMAD_DIR}/bin/rails r "Cache.clear" + fi } function restore_files () {