Scheduled backups: path exclusion doesn't work
When I add a new directory to the backup exclusion list, scheduled backups ignore it and back up the directory anyway. However, manual backups do take it into account.
@atanczos do you have any environmental based configuration folders? ie is it possible that your admin is saving the backup exclusion list to a folder other than the default (user/config/...) based configuration? If so the scheduled command would need to have an --env flag to ensure that it uses the same environment as your admin. Can you confirm if this is the case?
If not then it's another issue that is meaning the CLI is not getting the same configuration as the Admin.
The config file is in user/[sitename]/config directory. I have created a symlink to it in the user/config directory and now it's OK.
Yes environments can get tricky in CLI where it has no idea what environment you need. You can also pass --ENV [sitename] to the CLI command, and I've added an option to select the environment for backups in the admin (in the 1.11 beta)