• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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