• 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

Plesk 10.3.0 and 10.3.1: Backup not working

Superkikim

Regular Pleskian
Hi,

The domain level backup is not working anymore since 10.3.0, and 10.3.1 doesn't fix this issue.

It was perfectly working before the update to 10.3.0.

Seems to be a permission problem, according the stderr file below. But why now ? what did you chance ? please help fix this.

Commande line

Code:
/opt/psa/bin/pleskbackup --domains-name mydomain.com --output-file=test.tar -vvv

Running processes containing "mydomain"

Code:
root     28493  0.8  0.2  38512  9716 pts/0    S+   11:06   0:01 /usr/bin/perl /opt/psa/bin/pleskbackup --domains-name mydomain.com --output-file=test.tar -vvv
root     28496  0.3  0.7  81956 29196 pts/0    S    11:06   0:00 /usr/bin/perl /opt/psa/admin/bin/plesk_agent_manager domains-name --owner-uid=00000000-0000-0000-0000-000000000000 --owner-type=server -vvv --session-path=/opt/psa/PMM/sessions/2011-08-02-110656.385 --output-file=/var/lib/psa/dumps/backups/test.tar mydomain.com
root     29074  6.0  0.6  82092 27024 pts/0    S    11:09   0:00 /usr/bin/perl /opt/psa/admin/bin/plesk_agent_manager domains-name --owner-uid=00000000-0000-0000-0000-000000000000 --owner-type=server -vvv --session-path=/opt/psa/PMM/sessions/2011-08-02-110656.385 --output-file=/var/lib/psa/dumps/backups/test.tar mydomain.com
root     29077  2.6  0.6  82240 27204 pts/0    S    11:09   0:00 /usr/bin/perl /opt/psa/admin/bin/plesk_agent_manager domains-name --owner-uid=00000000-0000-0000-0000-000000000000 --owner-type=server -vvv --session-path=/opt/psa/PMM/sessions/2011-08-02-110656.385 --output-file=/var/lib/psa/dumps/backups/test.tar mydomain.com
root     29085  0.0  0.0   8208   776 pts/1    R+   11:09   0:00 grep mydomain

Result

Code:
[28493]: 09:06:56 INFO Create backup task description
[28493]: 09:06:56 INFO FileFinder: pwd resolved to /bin/pwd
[28493]: 09:06:56 INFO Create task for backup
[28493]: 09:06:57 INFO Backup started
..Domains [0/1] (etc.... numerous time)
Domains [1/1]
-------------- Start print backup log hire --------------
<?xml version="1.0" encoding="UTF-8"?>
  <execution-result status="success" log-location="/opt/psa/PMM/sessions/2011-08-02-110656.385/migration.result"/>
-------------- End print backup log hire --------------

You can view additional information in the log file located in /opt/psa/PMM/sessions/2011-08-02-110656.385 directory. This directory will be removed automatically after 30 days

The backup finished successfully

migration.log:
Code:
[11:09:51|INFO:29214:p.log] pmm-ras started : /opt/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml --session-path=/opt/psa/PMM/sessions/2011-08-02-110656.385 --verbose
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps' initialising...
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Initialized
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Get backup info from resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Get initial backup info from dir resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106
[11:09:51|INFO:29214:p.log] Get backup params from listing of resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106
[11:09:51|INFO:29214:p.log] Read properties from xml resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Validate backup resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Validate backup (common phase) resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Get items 'status' for discovered 'backup_mydomain.com_info_1108021106' at path resellers/akim/domains/mydomain.com
[11:09:51|INFO:29214:p.log] Executing utility: /opt/psa/admin/sbin/backup_sign verify /var/lib/psa/dumps//resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml
[11:09:51|INFO:29214:p.log] The utility executed with the return code 0
[11:09:51|INFO:29214:p.log] Validate content files backup_maindb_1_1108021106.tgz at dir resellers/akim/domains/mydomain.com/databases/maindb_1
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_statistics_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting
[11:09:51|INFO:29214:p.log] Validate content files backup_cote_httpdocs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/cote
[11:09:51|INFO:29214:p.log] Validate content files backup_cote_cgi-bin_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/cote
[11:09:51|INFO:29214:p.log] Validate content files backup_cote_conf_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/cote
[11:09:51|INFO:29214:p.log] Validate content files backup_cote_error-docs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/cote
[11:09:51|INFO:29214:p.log] Validate content files backup_akim_httpdocs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/akim
[11:09:51|INFO:29214:p.log] Validate content files backup_akim_cgi-bin_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/akim
[11:09:51|INFO:29214:p.log] Validate content files backup_akim_conf_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/akim
[11:09:51|INFO:29214:p.log] Validate content files backup_akim_error-docs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/akim
[11:09:51|INFO:29214:p.log] Validate content files backup_maison_httpdocs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/maison
[11:09:51|INFO:29214:p.log] Validate content files backup_maison_cgi-bin_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/maison
[11:09:51|INFO:29214:p.log] Validate content files backup_maison_conf_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/maison
[11:09:51|INFO:29214:p.log] Validate content files backup_maison_error-docs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/maison
[11:09:51|INFO:29214:p.log] Validate content files backup_geek_httpdocs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/geek
[11:09:51|INFO:29214:p.log] Validate content files backup_geek_cgi-bin_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/geek
[11:09:51|INFO:29214:p.log] Validate content files backup_geek_conf_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/geek
[11:09:51|INFO:29214:p.log] Validate content files backup_geek_error-docs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/geek
[11:09:51|INFO:29214:p.log] Validate content files backup_photo_httpdocs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/photo
[11:09:51|INFO:29214:p.log] Validate content files backup_photo_cgi-bin_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/photo
[11:09:51|INFO:29214:p.log] Validate content files backup_photo_conf_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/photo
[11:09:51|INFO:29214:p.log] Validate content files backup_photo_error-docs_1108021106.tgz at dir resellers/akim/domains/mydomain.com/phosting/subdomains/photo
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Create item 'status_OK' for discovered 'backup_mydomain.com_info_1108021106' at path resellers/akim/domains/mydomain.com
[11:09:51|INFO:29214:p.log] Repository '/var/lib/psa/dumps': Put info to resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/status_OK
[11:09:51|INFO:29214:p.log] pmm-ras finished. Exit code: 0
 
Part two (the limitation to 10'000 characters in the post is kinda silly)

stderr

Code:
1+0 records in
1+0 records out
31457280 bytes (31 MB) copied, 0.0585853 s, 537 MB/s
/bin/tar: photo/zp-data/security_log.txt: Cannot open: Permission denied
/bin/tar: Error exit delayed from previous errors
/bin/tar: *: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: *: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: *: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: *: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: *: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: resellers/akim/domains/mydomain.com/backup_mydomain.com_vhost_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/photo/backup_photo_conf_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/photo/backup_photo_cgi-bin_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/photo/backup_photo_httpdocs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/photo/backup_photo_error-docs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/maison/backup_maison_cgi-bin_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/maison/backup_maison_conf_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/maison/backup_maison_error-docs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/maison/backup_maison_httpdocs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/geek/backup_geek_httpdocs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/geek/backup_geek_cgi-bin_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/geek/backup_geek_error-docs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/geek/backup_geek_conf_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/cote/backup_cote_cgi-bin_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/cote/backup_cote_httpdocs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/cote/backup_cote_conf_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/cote/backup_cote_error-docs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/akim/backup_akim_httpdocs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/akim/backup_akim_error-docs_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/akim/backup_akim_conf_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/subdomains/akim/backup_akim_cgi-bin_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/phosting/backup_statistics_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/databases/maindb_1/backup_maindb_1_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/backup_mydomain.com_info_1108021106.xml: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/backup_mydomain.com_mn_1108021106.tgz: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/GUID_b3c54a27-14ff-4092-8cd9-2cd0cf5a6b33: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/objectid_mydomain.com: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/owner_00000000-0000-0000-0000-000000000000: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/status_OK: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/size_817826472: Cannot stat: No such file or directory
/bin/tar: resellers/akim/domains/mydomain.com/.discovered/backup_mydomain.com_info_1108021106/ownertype_server: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
 
same issue with backup to FTP-Repository since update to 10.3.0
It seems that the backup ist successfully created, just the upload to the repository fails

--
Version Parallels Plesk Panel v10.3.1_build1013110726.09 os_Ubuntu 10.04
OS Linux 2.6.32-4-pve
 
Parrallels team ?

Can you please provide a workaround or at least a status ? I'm without backups since two weeks now ...
 
Problem has been reported to developers (request #68834 for your reference). I will inform you with results.
 
Thank you Igor

Note that:

The backup at reseller level gives the same result
The backup at server level works correctly

Cheers
 
Developers wants new request because problem is not related to problem from #68834.
Please fill known template with all details and psadump.log and I will submit new request to developers.
Thank you.
 
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Code:
psa v10.3.1_build1013110726.09 os_Debian 5.0 2.6.26-2-amd64

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE

After upgrading to v10.3.0 and v10.3.1, domain level and reseller domain backup produce empty tar files.

Can be reproduced with following commands:

Code:
 /opt/psa/bin/pleskbackup --resellers-name [reseller] --output-file=[output file] -vvv
 /opt/psa/bin/pleskbackup --domains-name [domain] --output-file=[output file] -vvv
 /opt/psa/bin/pleskbackup --resellers-name [reseller] --configuration --output-file=[output file] -vvv
 /opt/psa/bin/pleskbackup --domains-name [domain] --configuration --output-file=[output file] -vvv

ACTUAL RESULT

tar files are empty

EXPECTED RESULT

tar file should contain configuration and data but is totally empty

ANY ADDITIONAL INFORMATION

The following commands work correctly and produce the expected tar file containing configuration or configuration with data:

Code:
 /opt/psa/bin/pleskbackup --server --configuration --output-file=[output file] -vvv
 /opt/psa/bin/pleskbackup --server  --output-file=[output file] -vvv

Attached files:

Successful full server backup: 2011-08-10-001317.738.zip
Failed domain backup: 2011-08-10-123826.600.zip

Password for attachment sent to IgorG in MP



--------------------------------------------------------------
 

Attachments

  • 2011-08-10-123826.600.zip
    6.4 KB · Views: 1
Last edited:
Thank you for report. I have forwarded it to developers. Let's wait their answer.
 
Attached fixed plesk_agent_manager - replace it in /usr/local/psa/admin/bin/
And please, inform me with results.
 

Attachments

  • plesk_agent_manager.zip
    9.4 KB · Views: 47
With all current updates on 10.3.1 backup produces the proper files but the scheduled backup still does not work. It doesn't trigger the backup process regardless the settings.

Can anyone reproduce?
 
is there something I can check on what is going wrong and the SCEDULED BACKUPS do not trigger??


Bump.
 
I have the same error, but fixed plesk_agent_manager not working. Before upgrade to 10.3.0 all workes fine, but after upgrade all backup files at ftp server have 0 bytes size.
I see error at stderr:

Runtime error: Timeout at /usr/lib/perl5/5.8.8/Net/FTP.pm line 789
at /usr/lib/perl5/5.8.8/Net/FTP/I.pm line 62
Net::FTP::I::write('Net::FTP::I=GLOB(0x7466d00)', '&\x{ee}[\x{b6}\x{5}\x{b3}\x{80}E\x{e}\x{ea}\x{f2}\x{6}\x{af}\x{be}\x{a8}W\x{7f}Q\\x{e4},\x{d1}\x{9d}Rohd\x{94}\x{c2}W\x{aa}\x{ed}\x{d4}\x{c2}\x{97}\x{e4}\x{a}\x{e8}{X7\x{eb}\x{c4}\x{f0}*\x{f2}\x{81}\x{d9}2\x{d7}&\x{f7}\x{bb}\x{9c}\x{2}1YB\x{c7}\x{af}\x{c4}...', 10240) called at /usr/lib/perl5/5.8.8/Net/FTP.pm line 789
Net::FTP::_store_cmd('Net::FTP=GLOB(0x743c550)', 'stor', '/var/lib/psa/dumps/backup_info_1110180305.xml.tar', 'backup_1110180305.tar') called at /usr/lib/perl5/5.8.8/Net/FTP.pm line 693
Net::FTP::put('Net::FTP=GLOB(0x743c550)', '/var/lib/psa/dumps/backup_info_1110180305.xml.tar', 'backup_1110180305.tar') called at /usr/local/psa/admin/bin/plesk_agent_manager line 862
main::putFilesToFtp('HASH(0x6dd66a0)', 'backup', '_1110180305', 1, 0, '/var/lib/psa/dumps', 'ARRAY(0x6dd64f0)', 'SCALAR(0x6dd66d0)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 701
main::perform('verbose', 0, 'split-size', 'undef', 'session-path', '/usr/local/psa/PMM/sessions/2011-10-18-030502.996', 'all', 1, 'owner-uid', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1200
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x5862170)', 'HASH(0x7001890)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1209
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1211.

What should i do?
 
Back
Top