A schedules backup to the destination in the private file system returns a permission error:
Scheduled backup 'Daily backup' failed: The backup file could not be saved to 'private://backup_migrate/daily' because the directory could not be created or cannot be written to. Please make sure your private files directory is writable by the web server.
However a manual backup to that same destination completes successfully.
Set a destination as private://backup_migrate/daily
Confirm that the service account running php-fpm is the owner and has RWX permissions of private://backup_migrate and private://backup_migrate/daily
Set a scheduled backup (default profile/no profile set) that uses this destination.
Wait for cron to run the schedule and see the error on the event log
Confirm that the permissions at the destination are correct by performing a manual backup using that destination (default profile/no profile set).
Active
5.1
Code