• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Track back backup warnings

Webbenny

Basic Pleskian
If a backup completed with a warning it's not easy to track back when the failure happened.
Code:
WARNING:      (hosting object 'mywebspace.xxx')      Not all the data was backed up into /var/lib/psa/dumps/clients/mywebpace/domains/mywebspace.xxx
successfully. 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/mywebspace.xxx/httpdocs/wp-includes/js/
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 "myswebpace" or "apache".

My system makes automatic backups every day, so which backup was it and when? Or is the cause already fixed? So you have to track this by hand. You can download the error log. The name of the file is task-<number>.log (e.g. task-12433.log). With the task number you can grep for the time when the error occoured:

Code:
root@mywebspace:/opt/psa/PMM/logs# cat pmmcli.log | grep -m 1 "12433"
[2014-12-01 01:56:02.066|12432] INFO: Executing asynchronously <subprocess[12433] 'nice --adjustment=10 /usr/bin/perl /opt/psa/admin/bin/plesk_agent_manager server --owner-uid=b0847026-b7b9-4d6b-bcd5-6f50d9ffabb1 --owner-type=server --dump-rotation=7 --backup-profile-name=mywebspace --session-path=/opt/psa/PMM/sessions/2014-12-01-035602.579 --output-file=
ftps://[email protected]/users/myserver/mywebspace/ --ftp-passive-mode'>
The first part is the date and time when the backup has failed.

@Plesk Support: It would be nice if the warning/error notice contains the date and time, to make sure the error is not already fixed/old. Or is there an easy way to get time and date for backup warnings?

Best regards, Benjamin

mywebspace.xxx is a example domain name.
 
Back
Top