• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Error creating backups: Unable to create dump

ehrenwert

Basic Pleskian
Dear PLESK-Team and PLESK-users!

At this moment I'm running into trouble: The PLESK Backup-Solution does not work.

I'm getting the following error:

Fehlerprotokoll
Error: hosting "exampledomain.de"
Unable to create dump

What can I do here?
 
I checked the log files and got the following:

[26200]: 07:47:51 DEBUG Unable to create dump: The element 'sapp-settings' has multiply elements 'setting', expected one! at /usr/local/psa/PMM/agents/shared/XmlNode.pm line 206.
 
We have already submitted request to developers regarding this problem (#138188 for your reference). Fix will be included to the next update. You can wait it or manually apply following patch:

# diff -u /usr/local/psa/PMM/agents/PleskX/SiteApp/SiteApp10.pm /usr/local/psa/PMM/agents/PleskX/SiteApp/SiteApp10.pm.orig

--- /usr/local/psa/PMM/agents/PleskX/SiteApp/SiteApp10.pm 2013-06-21 12:16:52.481650000 +0300
+++ /usr/local/psa/PMM/agents/PleskX/SiteApp/SiteApp10.pm.orig 2013-06-21 12:16:29.481650006 +0300
@@ -216,8 +216,8 @@
my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
- my @settingNodes = $sappSettingNode->getChildren('setting');
- foreach my $settingNode ( @settingNodes ) {
+ my $settingNode = $sappSettingNode->getChild('setting');
+ if ($settingNode) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
@@ -226,6 +226,7 @@
}
return \%settings;
}
+
# Returns @list
sub getDatabases
{
 
It is not patch. It is difference between patched and original files.
 
Ah, alright, it's early in the morning ;-)

so I have to replace in my file it looks like

my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
my $settingNode = $sappSettingNode->getChild('setting');
if ($settingNode) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
}
}
}
return \%settings;
}

# Returns @list

So what should it look like after patching?
 
Is diff the same as I wrote before? In this case try backup again.
 
Little misunderstatement:

My file looks at this moment (unpatched) like:

my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
my $settingNode = $sappSettingNode->getChild('setting');
if ($settingNode) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
}
}
}
return \%settings;
}

# Returns @list

and it shoult look (patched) like:

my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
my @settingNodes = $sappSettingNode->getChildren('setting');
if ($settingNode) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
}
}
}
return \%settings;
}

# Returns @list
 
Hey there,

I modified the SiteApp10.pm from

my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
my $settingNode = $sappSettingNode->getChild('setting');
if ($settingNode) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
}
}
}
return \%settings;
}

to

my @sappSettingNodes = $self->{sappXmlNode}->getChildren('sapp-settings');
if ( @sappSettingNodes ) {
foreach my $sappSettingNode ( @sappSettingNodes ) {
my @settingNodes = $sappSettingNode->getChildren('setting');
foreach my $settingNode ( @settingNodes ) {
my $sappParamName = $settingNode->getChild('name')->getText();
my $sappParamValue = $settingNode->getChild('value')->getText();
$settings{ $sappParamName } = $sappParamValue;
}
}
}
return \%settings;
}

The backuptask runs longer than before, but I'm getting this error now:

Error: hosting "exampledomain.com"
STDERR: /bin/tar: logs/error_log.save: Cannot open: Permission denied
/bin/tar: Exiting with failure status due to previous errors
Error: hosting "exampledomain.com"
Failed to pack files test_exampledomain.com_user-data_1306281231 in /var/lib/psa/dumps/clients/meinungs/domains/exampledomain.com [ 69544202240 bytes free of 80530636800 bytes total on mount point 0]
 
Hello parallels-Team,

could you please help me? Otherwise I have to open a support ticket, because it's clearly a bug in 11.5. All of my servers are having these errors...
 
Hello,

I've tried to backup my server to a remote ftp and ended up with this error :

Error: domain "rathle.fr"
Unable to create dump

I've tried again after suspending the domains as I have seen in another thread, and I still get an error and the backup fails :

Warning: domain "rathle.fr"
Not valid XML document is returned from Panel Business Logic
Error: domain "savs-epilepsies.fr"
Unable to create dump

I've checked SiteApp10.pm, and the diff mentioned above has already been applied.

I've just manually migrated my server after upgrading the previous one from 11.0 version to 11.5.30. I've taken a backup made on the previous server to make the migration.

I've tried to backup in the server repertory and ended up with this error :

Error: domain "madonie.org"
Unable to create dump

I'm have this configuration :

OS Debian 7.1
Version de Parallels Panel 11.5.30 Mettre à jour #13, dernière mise à jour à Aoû 24, 2013 01:17 AM
Le système est à jour ; dernière vérification le Aoû 27, 2013 06:30 AM

I've been able to do one successful backup on August 27th, but with warning :

Warning: domain "alafolie.info"
Not valid XML document is returned from Panel Business Logic
Warning: domain "babeth.fr"
Not valid XML document is returned from Panel Business Logic

After another failure, I've finally made a backup with these warnings :

Warning: server "server"
Sitebuilder backup was not created.
Warning: domain "madonie.org"
Not valid XML document is returned from Panel Business Logic
Warning: domain "sd-41648.dedibox.fr"
Not valid XML document is returned from Panel Business Logic

In fact each "Unable to dump file" error was each time concerning a different domain, which makes back up a complicate task if I have to do multiple times a backup to succeed once, and makes it impossible to make the task automatic.

What can I do to fix that ?

Thank you
 
Last edited:
Hello,

I've tried to backup my server to a remote ftp and ended up with this error :

Error: domain "rathle.fr"
Unable to create dump

I've tried again after suspending the domains as I have seen in another thread, and I still get an error and the backup fails :

Warning: domain "rathle.fr"
Not valid XML document is returned from Panel Business Logic
Error: domain "savs-epilepsies.fr"
Unable to create dump

I've checked SiteApp10.pm, and the diff mentioned above has already been applied.

I've just manually migrated my server after upgrading the previous one from 11.0 version to 11.5.30. I've taken a backup made on the previous server to make the migration.

I've tried to backup in the server repertory and ended up with this error :

Error: domain "madonie.org"
Unable to create dump

I'm have this configuration :

OS Debian 7.1
Version de Parallels Panel 11.5.30 Mettre à jour #13, dernière mise à jour à Aoû 24, 2013 01:17 AM
Le système est à jour ; dernière vérification le Aoû 27, 2013 06:30 AM

I've been able to do one successful backup on August 27th, but with warning :

Warning: domain "alafolie.info"
Not valid XML document is returned from Panel Business Logic
Warning: domain "babeth.fr"
Not valid XML document is returned from Panel Business Logic

After another failure, I've finally made a backup with these warnings :

Warning: server "server"
Sitebuilder backup was not created.
Warning: domain "madonie.org"
Not valid XML document is returned from Panel Business Logic
Warning: domain "sd-41648.dedibox.fr"
Not valid XML document is returned from Panel Business Logic

In fact each "Unable to dump file" error was each time concerning a different domain, which makes back up a complicate task if I have to do multiple times a backup to succeed once, and makes it impossible to make the task automatic.

What can I do to fix that ?

Thank you

It is difficult to say what exactly is wrong there without detailed logs investigation. I have not found any mentions about error like "Not valid XML document is returned from Panel Business Logic" in our internal resources. Therefore I suggest you contact Parallels Support Team. Experienced supporters will check and fix this problem directly on your server. Support is free if you have unlimited Plesk 11.5 license.
 
I've finally reinstalled Plesk on an Ubuntu 12.05 instead of Debian 7, and all my backup problems have disappeared. So I guess there must be a problem with Plesk support of Debian 7. I join all my error messages, if you want to open a bug report.

http://pastie.org/8368832
 
Back
Top