- Plesk Onyx for Linux
Scheduled backup shows warning:
CONFIG_TEXT: Warning : hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 105551003648; Available space: 64055939072; Mounted on: /. For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to: /var/www/vhosts/example.com/modules/export_catalog/datas/export_catalog0fW0ge /var/www/vhosts/example.com/modules/export_catalog/datas/export_catalog1H9hn4
So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "username" or "apache".
The files mentioned in the warning are not readable by the subscription user.
There are two solutions for this issue.
If the files are not needed in the backup, they can be excluded from it:
Login to Plesk
If the export-* files are not needed, configure the Backup Manager to exclude the files from backup: go to Domains > example.com > Backup Manager and enable the option Exclude specific files from the backup
Specify the path or paths relative to the web space root, separating individual files with commas. Using the mask symbol is allowed.
Grant read access to the files or directory for system user "apache" or the user mentioned in the warning:
Login to the server over SSH
Set the ownership:
# chown sys_user /var/www/vhosts/example.com/<path_to_the_file_from_error>*