• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Backup fails

B

bluegen

Guest
Hello,
Doing backup of centos 5.4, Plesk 8.6 server, scheduled backup is stored on FTP..
Scheduled backup done thru Clients -> Backup -> Schedule Backup
These errors do not show up when doing backup manually on local server.
Backup ran fine until today, properly storing file on FTP server .

Receiving emails with this content, every 20 minutes:

Following error is occured during scheduled backup process:

Error in UploadToRepositoryState.doActivityRunner()
Traceback (most recent call last):
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 98, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 428, in doActivity
shutil.copyfileobj(localfh, remotefh)
File "/usr/lib/python2.4/shutil.py", line 25, in copyfileobj
fdst.write(buf)
File "/usr/local/psa/admin/lib/python/ftputil/ftp_file.py", line 196, in write
self._fo.write(data)
File "/usr/lib/python2.4/socket.py", line 256, in write
self.flush()
File "/usr/lib/python2.4/socket.py", line 243, in flush
self._sock.sendall(buffer)
error: (32, 'Broken pipe')


I have followed this article (regarding backup signature): http://kb.odin.com/en/2279

It did not solve the problem, I am still receiving error emails.

For the moment I have stopped scheduled task from cron:
/usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1 (which runs every 20 minutes, so emails are sent after executing this task).
I am not sure that I understand exactly what is this line from cron doing..
I have my backup scheduled thru GUI once per night, but this runs every 20 minutes..What is exactly backing up?

/var/lib/psa/dumps has correct ownership (psaadm : psaadm)
Any idea about what is happening and how to fix it?

Thanks a lot,

BG
 
Last edited by a moderator:
Try to reinstall Plesk Backup manager package (psa-backup-manager). Maybe it will help.
 
Thanks for taking a look Igor..How do I reinstall psa-backup-manager?
 
Thanks IgorG, i will try that..
One question though:
What is this command backing up EXACTLY: /usr/local/psa/admin/sbin/backupmng ?
I know it is a common cron job for Plesk, but I am not sure what is backing up every 15 minutes..

Thank you
Bluegen
 
Back
Top