Username:
TITLE
Unable to restore Backup(The attribute 'wapp' is not allowed.)
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
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
PROBLEM DESCRIPTION
I have a domain with a web and email services on separate servers.
I want to join in the most modern server (destination server with debian)
I made the backup on the Centos server from console and via web interface.
Transfer the tar file to the new server via scp (Destination Debian)
and try to restore, but I get the same error anyway:
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.
exit 1
On the web console I see the same message.
I tried adding password on the restore in these ways:
-backup-password
PLESK_BACKUP_PASSWORD="mybkpass"
And adding to panel.ini these lines:
[pmm]
allowRestoreModifiedDumps = on
STEPS TO REPRODUCE
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
-only-mailnames list:abbruzzese@mydomain.it
4)I get this ouput
#resellers/MYRESELLER/clients/CLIENT/domains/DOMAINNAME/backup_info_2309281652.xml
#exit 1
5)) 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.
ACTUAL RESULT
can't restore emails
EXPECTED RESULT
restore the emails
ANY ADDITIONAL INFORMATION
I tried to restore the backup from another server without problem.
The problem seems to be this 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="">
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Answer the question
TITLE
Unable to restore Backup(The attribute 'wapp' is not allowed.)
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
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
PROBLEM DESCRIPTION
I have a domain with a web and email services on separate servers.
I want to join in the most modern server (destination server with debian)
I made the backup on the Centos server from console and via web interface.
Transfer the tar file to the new server via scp (Destination Debian)
and try to restore, but I get the same error anyway:
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.
exit 1
On the web console I see the same message.
I tried adding password on the restore in these ways:
-backup-password
PLESK_BACKUP_PASSWORD="mybkpass"
And adding to panel.ini these lines:
[pmm]
allowRestoreModifiedDumps = on
STEPS TO REPRODUCE
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
-only-mailnames list:abbruzzese@mydomain.it
4)I get this ouput
#resellers/MYRESELLER/clients/CLIENT/domains/DOMAINNAME/backup_info_2309281652.xml
#exit 1
5)) 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.
ACTUAL RESULT
can't restore emails
EXPECTED RESULT
restore the emails
ANY ADDITIONAL INFORMATION
I tried to restore the backup from another server without problem.
The problem seems to be this 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="">
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Answer the question