Task running after a backup is restored

Discussion in 'Tips/Tricks/Mods' started by Sergio W., Nov 14, 2024.

  1. Sergio W.

    Sergio W. Member

    Hi people,
    I run a couple of WordPress websites on ISPConfig. They're running on Nginx with memcached as object cache.
    The problem here is that when I restore a backup the memcached server is still returning old data, so after the backup ended I have to restart memcached.
    What I'd like to ask is if there is some hook or something other way to implement automatic memcached purging after a backup is restored.
    I'm thinking it could be on backup_dir_umount.sh but it will also run on backup creation so it doesn't look the best option to me.

    Thanks,
    Regrads.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    There is no simple hook that I'm aware of.
     

Share This Page