• 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

Problems with Backup and Validation : Schema Validity Error

U

UdoS

Guest
Hi there,

I have problems in creating a server-wide backup of my plesk with OpenSuse 11.0 and Plesk 9.0.

The backup process runs fine, but after the backup is finished it will be marked red in the backup-manager with an indication that it is invalid and cannot be used, because it may contain invalid data. However, when I log into a reseller or customer-account, the corresponding backups are marked green!!!

Then, I tried to manually validate the backup on the command line to get information about the source of the problem, which
gave me this result:

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

After reading http://kb.odin.com/en/8487 and http://kb.odin.com/en/6081 I modified the corresponding info-file of the backup accordingly.

However, this gives me another type of error, which I cannot trace back:

-------
xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/fullback_info_1009192141.xml
/var/lib/psa/dumps/fullback-configuration_info_1009192141.xml:15030: 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/fullback-configuration_info_1009192141.xml:15030: element pinfo: Schemas validity error : Element 'pinfo', attribute 'name': 'info_not_required' is not a valid value of the local atomic type.
-------

Any help or hints are highly appreciated.

Best regards

U. Schubert
 
Hi there,

additional information to the (remaining) problem:

If a apply the solution of http://kb.odin.com/en/8487 and http://kb.odin.com/en/6081 in a reseller-dump file, the validation command works.

Of course, this seems rather obvious, since it also has the green flag in the Backup Manager (as for customer accounts), but I just wanted to proof the functionality on the command line.

However, the main dump-file still cannot be validated, which bothers me alot, since I am planning to move to another server and do a complete restore there...

Best regards

U. Schubert
 
Back
Top