• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Backup: The dump has wrong format!

rewb0rn

New Pleskian
Hello,

I want to start automatic backups for the Plesk setup in Plesk Onyx 17.0.17 but I get the following error log:

Error:
Runtime error: The dump has wrong format! domains/example.com/backup_info_1702080331.xml: Line 1103 error: Element 'database', attribute 'type': [facet 'enumeration'] The value '' is not an element of the set {'mysql', 'postgresql', 'mssql'}. Line 1103 error: Element 'database', attribute 'type': '' is not a valid value of the local atomic type.
Error:
The dump has wrong format! domains/example.com/backup_info_1702080331.xml: Line 1103 error: Element 'database', attribute 'type': [facet 'enumeration'] The value '' is not an element of the set {'mysql', 'postgresql', 'mssql'}. Line 1103 error: Element 'database', attribute 'type': '' is not a valid value of the local atomic type.
Warning: "example_wordpress"
Failed to execute backup database
Warning: "example_wordpress"
Not all the data was backed up into /data/plesk_backups/domains/example.com/databases/example_wordpress_1 successfully. Unknown DBMS type: at /opt/psa/PMM/agents/shared/Db/Connection.pm line 73.


Can anyone help with this? Looks like the database type attribute is empty when it should be mysql. I searched Google and the forums but I seem to be the only one with the issue. I also wanted to look at the file domains/example.com/backup_info_1702080331.xml myself but can not find it. Where is it located?

Thanks in advance.
 
Ok I found it. Previously I did not have the databases included in Plesk (I just created them manually in MySQL). When I realized that that means they are not included in the backup, I "reverse engineered" them back into plesk by manipulating the "psa.data_bases" table. And there is a field "type" that should be "mysql" but was empty. Looking good now!
 
Back
Top