• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Forwarded to devs RESOLVED /logs/*.webstat backed up despite backup setting "Exclude log files" is checked

Bitpalast

Plesk addicted!
Plesk Guru
Username: Peter Debik

TITLE

/logs/*.webstat backed up despite backup setting "Exclude log files" is checked

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Obsidian with latest MU, CentOS 7.9

PROBLEM DESCRIPTION

the /logs/*.webstat files sometimes have permissions 0400, e.g.

-r-------- 1 root root 0 Jan 21 04:46 access_log.webstat
-r-------- 1 root root 0 Jan 21 04:46 access_ssl_log.webstat

so that the full server backup cannot access them to back them up. It throws an error like:

backup.log:[2021-01-22 00:53:47.223|19243] INFO: <subscription name>/logs/access_log.webstat: Cannot open: Permission denied
backup.log:<subscription name>/logs/access_ssl_log.webstat: Cannot open: Permission denied

This results in daily "failed backup" notices. However, in the backup schedule, the checkbox "Exclude log files" is checked, so these files should not be backed up at all.

To mitigate the issue we have tried to create a cron job that resets the permissions 0644, but for unknown reason this did not help. It seems that the permissions are always set to 0400 shortly before the backup takes place. This does not happen in all subscriptions. It occurs only occasionally in some across many servers.

STEPS TO REPRODUCE

This does not happen in all subscriptions. It occurs only occasionally in some across many servers.

ACTUAL RESULT

Server full backup tries to back-up /var/www/vhosts/<subscription name>/logs/*.webstat files, although in the backup schedule the "Exclude log files" option is checked.

EXPECTED RESULT

Server full backup should exclude /var/www/vhosts/<subsription name>/logs/*.webstat files when the option "Exclude log files" is checked.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
This can be considered resolved.

After detailed analysis we found that the customer has been copying and modifying files, so that it interfered with Plesk's own algorithms. For that reason it looked as if Plesk backup is making the mistake, but it was indeed interference from third party scripts.
 
Pay attention Backup manager never backs up /var/www/vhosts/<subscription name>/logs, it archives the logs from /var/www/vhosts/system/<subscription name>/logs under root account.
 
Back
Top