Applicable to:
- Plesk Onyx for Linux
Symptoms
A backup is scheduled to start at 00:15 every day to FTP storage. It fails with various warnings like:
Warning: hosting "example.com"
Unable to upload backup files to FTP storage: ack Broken pipe: write( 13, 'domains/example.com/backup_apache-files_1611260017.tgz ' ) at /opt/psa/PMM/agents/shared/IPC/Run/IO.pm line 558. STDOUT:
Warning: hosting "example.com"
Unable to upload archive domains/example.com/backup_apache-files_1611260017.tgz to FTP storage: ack Broken pipe: write( 13, 'domains/example.com/backup_apache-files_1611260017.tgz ' ) at /opt/psa/PMM/agents/shared/IPC/Run/IO.pm line 558.
A manual/scheduled backup is created successfully during a day.
There is a cron task which recreates
/var/lib/psa/dumps/
directory:
# crontab -l
* 0,6 * * * rm -rf /var/lib/psa/dumps/ && mkdir -p /var/lib/psa/dumps/domains/example.com/ && chown -R psaadm:psaadm /var/lib/psa/dumps/
Cause
The cron task interferes backup creation by removing files located in
/var/lib/psa/dumps/
.
Resolution
Ensure that Scheduled backup and the cron task do not intersect (considering a backup creation time):
- Change schedule backup start time at Tools & Settings > Backup Manager > Schedule .
Or
-
Change time for the cron task using the following command:
# crontab -e
Comments
0 comments
Please sign in to leave a comment.