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.