Matt Grant
Regular Pleskian
I setup a nightly backup of my Plesk 12 server to my 1&1 provided FTP backup space to run at midnight. It ran last night an when I woke up the server was not accepting/sending email. I found out that the /usr partition was full (it is 2GB in size). I found a file in the /usr/local/psa/tmp/backupkDPRhA folder that was 224415334 in size. If that number is correct the backup is 224GB? The usr/local/psa/tmp/ folder is symlinked to ../var/tmp (lrwxrwxrwx 1 root root 10 Aug 28 23:22 tmp -> ../var/tmp), which has 364GB of free space. I tested the back up locally (not in the FTP repository) and it ran successfully and the backup size was 10GB.
I found this KB article, but I am not sure if it applies to my issue since the fix is for Plesk 8/9/10/11 (I am on Plesk 12.0.18 Update #18).
http://kb.odin.com/en/114415
Here is the part of the backup log that that seems to show an error. It looks like the error being generated is a code 2. I cannot find any information on what an error code 2 is. Can I symlink the usr/local/psa/tmp/PMM/tmp/ folder to somewhere on the /var partition?
[2014-10-07 21:29:39.546| 9003] INFO: Executing utility: /bin/sh -c -e /bin/tar\ --create\ --file\ /usr/local/psa/PMM/tmp/backupkDPRhA/mail_1410072108.tar\ --directory\ /tmp/repo_transport_tmp_ZLkM0P/\ --derefere$
[2014-10-07 21:30:18.739| 9003] INFO: The utility executed with the return code 2
[2014-10-07 21:30:18.741| 9003] INFO: The return code was
No output on STDOUT were performed by the utility
The output on STDERR was:
/bin/tar: /usr/local/psa/PMM/tmp/backupkDPRhA/mail_1410072108.tar: Wrote only 6144 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
[2014-10-07 21:30:20.013| 9031] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --delete-dump --dump-specification=mail_info_1410072108.xml --session-path=/usr/local/psa/PMM/sessions/2014-10-07-210802.902
[2014-10-07 21:30:20.013| 9031] INFO: Repository '/var/lib/psa/dumps': Initializing...
[2014-10-07 21:30:20.013| 9031] INFO: Repository '/var/lib/psa/dumps': Initialized
[2014-10-07 21:30:20.046| 9031] INFO: Repository '/var/lib/psa/dumps': Delete backup mail_info_1410072108.xml
[2014-10-07 21:30:20.063| 9031] INFO: Repository '/var/lib/psa/dumps': Found 165 files for deleting
[2014-10-07 21:30:20.969| 9031] INFO: pmm-ras finished. Exit code: 0
[2014-10-07 21:30:21.555| 9032] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --rotate-dump --dump-rotation=7 --guid=7ac325fb-6c7a-4817-af2c-3f6d813b3dcf --dump-specification=/mail/mail_1410072108.tar $
[2014-10-07 21:30:21.679| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Initializing...
[2014-10-07 21:30:21.690| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Initialized
[2014-10-07 21:30:21.690| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Rotate file backups is started
[2014-10-07 21:30:21.810| 9032] INFO: Ftp init url ftp://backupxxx.onlinehome-server.com/mail
[2014-10-07 21:30:22.528| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Rotate file backups is finished
[2014-10-07 21:30:22.529| 9032] INFO: pmm-ras finished. Exit code: 0
I also have a Plesk 11.5 server and it runs the nightly backups without issue.
Any help or suggestions will be greatly appreciated!
I found this KB article, but I am not sure if it applies to my issue since the fix is for Plesk 8/9/10/11 (I am on Plesk 12.0.18 Update #18).
http://kb.odin.com/en/114415
Here is the part of the backup log that that seems to show an error. It looks like the error being generated is a code 2. I cannot find any information on what an error code 2 is. Can I symlink the usr/local/psa/tmp/PMM/tmp/ folder to somewhere on the /var partition?
[2014-10-07 21:29:39.546| 9003] INFO: Executing utility: /bin/sh -c -e /bin/tar\ --create\ --file\ /usr/local/psa/PMM/tmp/backupkDPRhA/mail_1410072108.tar\ --directory\ /tmp/repo_transport_tmp_ZLkM0P/\ --derefere$
[2014-10-07 21:30:18.739| 9003] INFO: The utility executed with the return code 2
[2014-10-07 21:30:18.741| 9003] INFO: The return code was
No output on STDOUT were performed by the utility
The output on STDERR was:
/bin/tar: /usr/local/psa/PMM/tmp/backupkDPRhA/mail_1410072108.tar: Wrote only 6144 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
[2014-10-07 21:30:20.013| 9031] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --delete-dump --dump-specification=mail_info_1410072108.xml --session-path=/usr/local/psa/PMM/sessions/2014-10-07-210802.902
[2014-10-07 21:30:20.013| 9031] INFO: Repository '/var/lib/psa/dumps': Initializing...
[2014-10-07 21:30:20.013| 9031] INFO: Repository '/var/lib/psa/dumps': Initialized
[2014-10-07 21:30:20.046| 9031] INFO: Repository '/var/lib/psa/dumps': Delete backup mail_info_1410072108.xml
[2014-10-07 21:30:20.063| 9031] INFO: Repository '/var/lib/psa/dumps': Found 165 files for deleting
[2014-10-07 21:30:20.969| 9031] INFO: pmm-ras finished. Exit code: 0
[2014-10-07 21:30:21.555| 9032] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --rotate-dump --dump-rotation=7 --guid=7ac325fb-6c7a-4817-af2c-3f6d813b3dcf --dump-specification=/mail/mail_1410072108.tar $
[2014-10-07 21:30:21.679| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Initializing...
[2014-10-07 21:30:21.690| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Initialized
[2014-10-07 21:30:21.690| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Rotate file backups is started
[2014-10-07 21:30:21.810| 9032] INFO: Ftp init url ftp://backupxxx.onlinehome-server.com/mail
[2014-10-07 21:30:22.528| 9032] INFO: Repository 'ftp://backupxxx.onlinehome-server.com': Rotate file backups is finished
[2014-10-07 21:30:22.529| 9032] INFO: pmm-ras finished. Exit code: 0
I also have a Plesk 11.5 server and it runs the nightly backups without issue.
Any help or suggestions will be greatly appreciated!
Last edited: