• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can't restore converted Plesk 8.1 Backup to Plesk 9.3

J

japanitrat

Guest
Hi,

I just reinstalled my server and tried to restore a previously made server-wide Plesk8 backup in Plesk9. I did as told in the migration guide: created a backup in Plesk8 with the "pleskbackup all <file>", converted it with "pre9-backup-convert convert -d /var/lib/psa/dumps <file>" and tried to restore it with "pleskrestore --restore /var/lib/psa/dumps/<backup>.xml -level server"

Unfortunately, pleskrestore responds with:
Backup file has wrong format
Dump has critical errors.

So I tried it with --check-backup command which also says "Backup file has wrong format". On the other hand, when I use pleskrestore with the -i option, it seems to understand at least the backup-structure. Output:

/usr/local/psa/bin/pleskrestore -i /var/lib/psa/dumps/converted_info_1006160837.xml
------------------------------------------------------------------------
Backup information
Dump version: 9.0
File: /var/lib/psa/dumps/converted_info_1006160837.xml
Type: Server
Comment:
Date: 1006160837
Size: 7.69 G
------------------------------------------------------------------------
[Client] xxx
[Domain] xxx
[Domain] xxx

How can I fix this ASAP?
 
Last edited by a moderator:
As mentioned in http://kb.odin.com/en/6080, I ran "xmllint --noout -schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/converted_info_1006161142.xml".

Output was:
/var/lib/psa/dumps/converted_info_1006161142.xml:681: element pinfo: Schemas validity error : Element 'pinfo', attribute 'name': [facet 'enumeration'] The value 'info_not_required' is not an element of the set {'company', 'phone', 'fax', 'address', 'city', 'state', 'zip', 'country', 'locale', 'email', 'name'}.
/var/lib/psa/dumps/converted_info_1006161142.xml:681: element pinfo: Schemas validity error : Element 'pinfo', attribute 'name': 'info_not_required' is not a valid value of the local atomic type.
/var/lib/psa/dumps/converted_info_1006161142.xml fails to validate
I removed the element and it the backup now shows up as valid. I tried to restore it, but it seems that the "suspend" option does not work, so the domains become accessible when I am restoring the backup .. furthermore (maybe for this reason), my databases are not restored at all!

So, up to this point I got everything running, except the databases. No errors are thrown, what could it be?
 
Last edited by a moderator:
i had the same problem i removed the element and now its showing this :(
wpc4817:/opt/psa/bin# xmllint --noout -schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/converted_info_1008150745.xml
/var/lib/psa/dumps/converted_info_1008150745.xml validates
wpc4817:/opt/psa/bin# ./pleskrestore --restore /var/lib/psa/dumps/converted_info_1008150745.xml -level server -license -verbose
Backup file has wrong format
Dump has critical errors.

wpc4817:/opt/psa/bin#



dont know what to do
 
Last edited:
Back
Top