• 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 Backup Error: dump status wrong format

K

kolonation

Guest
Hi,

I'm getting the following error when running pleskbackup from command line:

20:46:48 INFO Check dump started ( File: 'backup_info_1105222225.xml' in the repository '/var/lib/psa/dumps' )
20:46:48 DEBUG Execute: /opt/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=backup_info_1105222225.xml --session-path=/opt/psa/PMM/sessions/2011-05-22-222517.106 --verbose
20:46:50 DEBUG The check dump is executed with errorcode '0'
20:46:50 DEBUG The check dump output:<?xml version="1.0" encoding="UTF-8"?>
<dump name="backup_info_1105222225.xml" fullname="backup_info_1105222225.xml" creation-date="1105222225" description="" size="2991110747" owner-guid="00000000-0000-0000-0000-000000000000" owner-type="server">
<dump-status dump-status="WRONG-FORMAT"/>
</dump>

20:46:50 DEBUG Found dump status: 'dump-status="WRONG-FORMAT"'

20:46:50 DEBUG The check dump return '1'
20:46:50 ERROR 350a4588-c188-49df-8f0d-8ee75db6e9dd The dump have been invalidated by check-dump operation
20:46:50 DEBUG Runtime error: The check dump failed with code '1'. The dump can contain invalid data! at /opt/psa/admin/bin/plesk_agent_manager line 659.
at /opt/psa/admin/bin/plesk_agent_manager line 659
main::perform('verbose', 4, 'owner-type', 'server', 'exclude-domain', 'ARRAY(0x16e9dd8)', 'split-size', undef, 'session-path', ...) called at /opt/psa/admin/bin/plesk_agent_manager line 1166
main::__ANON__() called at /opt/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /opt/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x192f8b8)', 'HASH(0x192f990)') called at /opt/psa/admin/bin/plesk_agent_manager line 1175
main::main() called at /opt/psa/admin/bin/plesk_agent_manager line 1177.

20:46:50 ERROR e3df80cd-ffab-4b79-8dd6-ef1cf69ac632 Runtime error:
at /opt/psa/PMM/agents/shared/Logging.pm line 84
Logging::error('Runtime error', 'fatal') called at /opt/psa/admin/bin/plesk_agent_manager line 1172
main::__ANON__('Error::Simple=HASH(0x19371d0)', 'SCALAR(0x14f42b0)') called at /opt/psa/PMM/agents/shared/Error.pm line 326
eval {...} called at /opt/psa/PMM/agents/shared/Error.pm line 320
Error::subs::run_clauses('HASH(0x192f990)', 'The check dump failed with code \'1\'. The dump can contain i...', '', 'ARRAY(0x14ff490)') called at /opt/psa/PMM/agents/shared/Error.pm line 416
Error::subs::try('CODE(0x192f8b8)', 'HASH(0x192f990)') called at /opt/psa/admin/bin/plesk_agent_manager line 1175
main::main() called at /opt/psa/admin/bin/plesk_agent_manager line 1177


any ideas on this?

thanks and br
thomas
 
Try to validate it with

​# xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/backup_info_1105222225.xml
 
returns the following results:

xmllint --noout --schema /opt/psa/PMM/plesk.xsd /var/lib/psa/dumps/backup_info_1105222225.xml
/var/lib/psa/dumps/backup_info_1105222225.xml:3: element Envelope: Schemas validity error : Element '{urn:envelope}Envelope': No matching global declaration available for the validation root.
/var/lib/psa/dumps/backup_info_1105222225.xml fails to validate


that are the first lines of the xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- This is signed plesk backupfile. Any modification of this file will corrupt its content! -->
<Envelope xmlns="urn:envelope"><Data>
<migration-dump content-included="true" agent-name="PleskX" dump-format="panel" dump-version="10.2.0">
<dump-info/>
 
now I get:

/var/lib/psa/dumps/backup_info_1105222225.xml:13787: element notification: Schemas validity error : Element 'notification': Missing child element(s). Expected is ( notice-text ).

and in the xml file the corresponding lines are (the notice-text element is present at line 13787...):

<notification email="" send2admin="true" send2email="false" send2client="false" send2reseller="true" id="15" subj="Notification: Reseller account is about to expire.">
<notice-text>The validity period of reseller account '&lt;reseller_login>' (Contact Name '&lt;reseller_contact_name>') is about to expire.
The reseller account and all of related client accounts and domains will be deactivated by &lt;reseller_expiration_date> unless the validity period is prolonged.</notice-text>
</notification>
 
Back
Top