Hi! I'm just facing a problem with backups. When I restore a backup the Memcached cache is not automatically flushed so, in my case, the site will continue to show the same results as before the restore until I manually flush it. Is there a way to configure a script to run after the backup restore so I can launch it automatically? Thanks! Regards
There may well be. But you did not say what backup application you are using, nor how you do the restore. Try reading the documentation for the system you are using.
Other than modifying ISPConfig backup / restore code, which is not advisable, you can try to use incron for older system (my old thread / tutorial has this), or systemd trick for newer system (refer to @Th0m tip for securing mail server).