• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Restore Backup in CLI (The attribute 'wapp' is not allowed.)

Ricardo

New Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
18.0.55
I try to restore a backup

FROM:
CentOS Linux 7.9.2009 (Core)
Plesk Obsidian Version 18.0.55 Update #2,

TO:
Debian 11.7
Plesk Obsidian Version 18.0.55 Update #4, last updated on Aug 25, 2023 06:25 AM

1) CMD to do the backup
/sbin/plesk bin pleskbackup domains-name mydomain.it -only-mail --output-file /root/mydomain.it.tar

2) transfer the file with SCP

3) Try to restore with CMD
plesk bin pleskrestore --restore mydomain.it.tar -ignore-sign -domain-name mydomain.it

I get this ouput
#resellers/MYRESELLER/clients/CLIENT/domains/DOMAINNAME/backup_info_2309281652.xml
#exit 1

4) On the web interface when enter on mydomain.it>backup
I get this message(see attachment image):

Error: Unable to restore the backup: the file contains wrong formatting.
Warning: Unable to validate the backup signature. The backup file might be modified, corrupted, created on another server or in an earlier Plesk version.

resellers/MYRESELLER/clients/CLIENT/domains/DOMAINNAME/backup_info_2309281652.xml:

Line 2380 error: Element 'phosting', attribute 'wapp': The attribute 'wapp' is not allowed.
Line 2380 error: Element 'phosting', attribute 'wapp-version': The attribute 'wapp-version' is not allowed.

5) Any idea about what's wrong
 

Attachments

  • Nuovo progetto.jpg
    Nuovo progetto.jpg
    42.8 KB · Views: 4
Before you tried to restore it to another server, you either need to check the box "Restore this backup despite the fact that it does not have a valid signature" or you need to add this to your panel.ini file's "[pmm]" section, e.g.:
Code:
[pmm]
allowRestoreModifiedDumps = on
Did you?
 
Hi peter, tank you for the info, I did it, but I Get the same error

resellers/RESSELER/clients/CLIENT/domains/DOMAIN.it/backup_info_2309291451.xml:
Line 2380 error: Element 'phosting', attribute 'wapp': The attribute 'wapp' is not allowed.
Line 2380 error: Element 'phosting', attribute 'wapp-version': The attribute 'wapp-version' is not allowed.

This is the content of the line!

<phosting https="true" webstat="none" errdocs="false" shared-content="true" at-domains="false" wu_script="true" www-root="httpdocs" certificate="18c3d853f2712257d2da17228b40df42" original-conf-directory="/var/www/vhosts/system/DOMAIN.it/conf" sslRedirect="true" wapp="nohosting" wapp-version="">

The file is only an email backup.
tnx
 
I try in this way:
plesk sbin pmm-ras --import-file-as-dump --dump-file-specification /root/mydomain.it.tar
with this output:
resellers/RESSELER/clients/CLIENT/domains/DOMAIN.it/backup_info_2309291451.xml:
exit status 152

and the same message on web interface:

resellers/RESSELER/clients/CLIENT/domains/DOMAIN.it/backup_info_2309291451.xml:
Line 2380 error: Element 'phosting', attribute 'wapp': The attribute 'wapp' is not allowed.
Line 2380 error: Element 'phosting', attribute 'wapp-version': The attribute 'wapp-version' is not allowed.
 
Is your site restored anyway or is this really a blocker?
Hi Peter,
The site on destination server it's running without problem.
The mail service running without problem on the source server.
I try to move the email from the source server with a backup, to restore only the emails on destination server and them switch Dns service.
But I'm blocked with this error on restore
 
Back
Top