1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problems with Backup and Validation : Schema Validity Error

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by UdoS, Sep 21, 2010.

  1. UdoS

    UdoS Guest

    0
     
    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
     
  2. UdoS

    UdoS Guest

    0
     
    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
     
Loading...