• Discussion
  • Unable to exclude a folder/file in Cron Job Backup

Hi,
I have set Cron Jobs to backup databases, complete site and some specific directories representing a complete project each.
All is going fine so far.
But
I have been struggling with excluding specific directories/files from backup. There are some heavy third libraries and files that I do not want to backup.
I have provided the paths of files not to backup to the Exclusion rule field but it's not working
to exclude a folder named exclude I have done all of the following:
/www/wwwroot/mysiteDir/exclude
mysiteDir/exclude
exclude
to exclude a file named config.php I have tried the following:
/www/wwwroot/mysiteDir/dira/ex/config.php
mysiteDir/dira/ex/config.php
config.php
*.php

But none of the above is working for me.
It always take backup fully without excluding the specified directories/files.
I am using aaPanel 6.5.2 on Linux 18.04 LTS.

Any help will be appreciated.

    noor
    Hello, thank you for your feedback, we have found the problem and fixed it, please fix the panel

    • noor replied to this.
      13 days later

      aaPanel_Jose
      Dear I checked it. its not working for me yet.

      I have updated my aaPanel to 6.5.5 ( currently the latest version ), but no luck.

        I am using Ubuntu 18.04 LTS. But not working until now.

          aaPanel_Jose
          I would be happy to give you access but my company is not allowing me to give access to anyone.
          anyways thank you so much for your help.
          Have a good time.

          a year later

          Hi, it would interest me a lot too but it doesn't work!
          Centos 7