• 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

FTP Backup not working : The dump has wrong format!

OSG

New Pleskian
Hi,

Under windows with plesk 12 last update, I can't process to backup the server.
Could you help me to correct this problem ?
Thanks.

Best regards
Vince

PS: Error:
Error: server "server"
Cannot check dump file 'titi_info_1510121124.xml' at 'C:\Program Files (x86)\Parallels\Plesk\Backup\
Error:
The dump has wrong format!

Log 1:
[2015-10-12 11:24:31.404|1368] DEBUG: LOG: custom log C:\Program Files (x86)\Parallels\Plesk\PMM\logs\backup-2015-10-12-11-24-31-343\backup.log
[2015-10-12 11:24:31.436|1368] INFO: Executing asynchronously <subprocess[3972] 'C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\plesk_agent_manager.exe server --owner-uid=948202EE-911E-4273-9870-F62F12F0DCFA --owner-type=server --backup-profile-name=titi --description-file=C:\\Program Files (x86)\\Parallels\\Plesk\\PMM\\sessions\\2015-10-12-112431.41\\dump_description -c -vvvv --session-path=C:\\Program Files (x86)\\Parallels\\Plesk\\PMM\\sessions\\2015-10-12-112431.41 --output-file=ftp://[email protected]//sauvegardes/Win2008/ --ftp-passive-mode'>
[2015-10-12 11:24:31.779|1368] DEBUG: Acquired session mutex: MainThread
[2015-10-12 11:24:31.779|1368] DEBUG: detecting running pmmcli daemon...
[2015-10-12 11:24:31.795|1368] DEBUG: starting pmmcli daemon...
[2015-10-12 11:24:31.857|1368] DEBUG: Executing asynchronously [3668] process
[2015-10-12 11:24:31.857|1368] DEBUG: Released session mutex: MainThread
[2015-10-12 11:24:31.857|1368] DEBUG: Acquired session mutex: MainThread
[2015-10-12 11:24:31.857|1368] DEBUG: Released session mutex: MainThread
[2015-10-12 11:24:31.857|1368] DEBUG: <pmmcli.MakeDumpAction object at 0x01F449F0>: response
[2015-10-12 11:24:31.857|1368] INFO: Outgoing packet:
<?xml version="1.0" ?><response>
<errcode>0</errcode>
<data>
<task-id>3972</task-id>
</data>
</response>

Extract of Log 2:
[2015-10-12 11:24:48.128|3972] Debug: Repository 'C:\Program Files (x86)\Parallels\Plesk\Backup\': Get info from .discovered\titi_info_1510121124\status_WRONG-FORMAT
[2015-10-12 11:24:48.128|3972] Debug: Transport: Get file .discovered\titi_info_1510121124\status_WRONG-FORMAT
 
Try to use this KB article for debugging this issue - http://kb.odin.com/en/117208


Well in this case backup is just generate by the plesk himself.
I have several server with the same problem now, maybe an update problem ?



Thanks you for your help, here the result of the command, have you some suggestion more ?


http://kb.sp.parallels.com/Attachments/kcs-6162/xmllint.zip

C:\Users\Administrator\Downloads\xmllint\xmllint\xmllint.exe --format --encode UTF-8 "C:\Program Files (x86)\Parallels\Plesk\Backup\titi_info_1510121826.xml" > "C:\Program Files (x86)\Parallels\Plesk\Backup\titi_info_1510121826_formated.xml"

C:\Users\Administrator\Downloads\xmllint\xmllint\xmllint.exe --noout --schema "%plesk_dir%\PMM\plesk.xsd" "%plesk_dir%\Backup\titi_info_1
510121826_formated.xml"
file:///C:/Program%20Files%20(x86)/Parallels/Plesk//Backup/titi_info_1510121826_formated.xml:450: element ui-mode: Schemas validity error : Element 'ui-mode': [facet 'enumeration'] The value 'simpleLock' is not an element of the set {'classic', 'normal', 'simple', 'simple-lock'}.
file:///C:/Program%20Files%20(x86)/Parallels/Plesk//Backup/titi_info_1510121826_formated.xml:450: element ui-mode: Schemas validity error : Element 'ui-mode': 'simpleLock' is not a valid value of the local atomic type.
C:\Program Files (x86)\Parallels\Plesk\\Backup\titi_info_1510121826_formated.xml fails to validate
 
Seems like issue in the backup agent. Edit "C:\Program Files (x86)\Parallels\Plesk\Backup\titi_info_1510121826_formated.xml" and replace "simpleLock" with "simple-lock"
 
Hi,
It's working !
C:\Users\Administrator\Downloads\xmllint\xmllint\xmllint.exe --noout --schema "%plesk_dir%\PMM\plesk.xsd" "%plesk_dir%\Backup\titi_info_1
510121826_formated.xml"
C:\Program Files (x86)\Parallels\Plesk\\Backup\titi_info_1510121826_formated.xml validates

How can I correct backup agent ?

Best regards
Vince
 
Back
Top