- 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:
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
Note: It is possible to exclude directory from a particular domain. But if exclude directory from server wide backup (Tools & Settings > Backup manager), excluding some directory will exclude it from all domains on server (that is not valid way). So it is better to exclude directory it for each domain separately.
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.
Find system user of the domain:
# plesk bin subscription -i example.com | grep "FTP Login"
# chown sys_user /var/www/vhosts/example.com/<path_to_the_file_from_error>*
# chmod 644 /var/www/vhosts/example.com/<path_to_the_file_from_error>*
Note: some files may require 'execute' permissions to function properly. Clarify it with website developer add add required permissions (744) for such files.