• 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

Backup / Health Monitor problems

Will-NYESDigital

Regular Pleskian
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 11.5.30 MU #7CentOS 6.3 (Final) 64bit

PROBLEM DESCRIPTION


a) We use a scheduled task to run a weekly off-site backup to an FTP location via command line. This has worked fine until the 11.5 Plesk update. The command still runs but the backup gets left in the /usr/local/psa/PMM/tmp folder and isn't deleting itself after the transfer as it normally would.

The command we use to run the task is:
/usr/local/psa/bin/pleskbackup server -v --output-file=ftp://x.x.x.x/cirrus02/cirrus2-full.tar --ftp-login=our-username --ftp-password=our-password

The command is run under the root user.

We are not experiencing any errors with the daily scheduled FTP backup job that we run every night via the PLESK panel Backup Manager to a different FTP location (our FTP repository as defined in PLESK panel)

some errors found in the logs which might provide more info are:

[20495]: 14:40:20 ERROR 5ac5e15d-b54b-4758-88a8-560740fca94a Runtime error: Cannot export files
at /usr/local/psa/admin/bin/plesk_agent_manager line 1173
main::exportFilesTo('/usr/local/psa/PMM/tmp/backupOvTTb8', 'ARRAY(0x1936df0)', '/usr/local/psa/PMM/tmp/backupOvTTb8', 'backup_info_1307241515.xml', 0, undef, 1) called at /usr/local/psa/admin/bin/plesk_agent_manager line 713
main::perform('verbose', 1, 'owner-type', 'server', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2013-07-24-151502.193', 'all', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1311
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 406
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
Error::subs::try('CODE(0x2b87e78)', 'HASH(0x2b881a8)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1319
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1323.
and

<description>Failed to pack files backup_info_1307241515.xml in /usr/local/psa/PMM/tmp/backupOvTTb8 [ 14516635648 bytes free of 23251673088 bytes total on mount point 0]</description>

Although the errors indicate it hasn't transfered the files, the backup file on the remote server is the correct size for what it should be.

b) The second part to this issue is when the file is deleted from the tmp folder the health monitor doesn't update to show the reduced disk usage (running a du command shows it as the correct size). Restarting plesk has forced it to re-calculate the usage and then shows correct but this isn't ideal.


Any help you can provide will be gratefully received.
 
Back
Top