• 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

pleskbackup does not backup mail and files

A

albl

Guest
Hi All,

I upgraded to plesk 8 from 7.5.4 today, all went well, however pleskbackup does not save mailboxes and domain files as it used to. The resulting backup file for a 1.7 GB domain is mere 5 KB with domain data only.

I tried both online and command line options with --all, --domains --clients with the same result.

Does anyone else have this problem?

Regards,
Alex
 
I looked at the backup file and it seems that backup fails in the binary attachment encoding phase:

./pleskbackup --domains ~/back -list ~/domains -verbose

--_----------=_114500180867860
Content-Disposition: inline; filename="dump.xml"
Content-Length: 21045
Content-Transfer-Encoding: binary
Content-Type: text/xml; name="dump.xml"

<?xml version='1.0' encoding='UTF-8'?>
<migration-dump agent-name="PleskX">
<domain www="true"
...
...
</migration-dump>

--_----------=_114500180867860
Content-Disposition: inline; filename="[email protected]"
Content-Id: [email protected]
Content-Transfer-Encoding: binary
Content-Type: application/octet-stream; name="[email protected]"

it ends at name="" no encoded data followes.

when I do
./pleskbackup --all ~/back -verbose
it ends similarly but instead of the beginning of mbox data I see beginning of hosting data (cgi folder)

--_----------=_114500188669330
Content-Disposition: inline; filename="dump.xml"
Content-Length: 131823
Content-Transfer-Encoding: binary
Content-Type: text/xml; name="dump.xml"

<?xml version='1.0' encoding='UTF-8'?>
<migration-dump agent-name="PleskX">
...
...
</migration-dump>

--_----------=_114500188669330
Content-Disposition: inline; filename="example.com.cgi"
Content-Id: example.com.cgi
Content-Transfer-Encoding: binary
Content-Type: application/octet-stream; name="example.com.cgi"

it now ends at
name="" and no encoded data again

what is interesting that the dump contains some encoded data like autoresponder messages inside XML tags but seems to fail adding attachments outside of XML.

Is there a way fo turning debug messages as -verbose is of no help.

Thanks for your support.
 
I recently contacted swsoft about that matter and Mr. Kalmykov sent me three rpms via scp for to execute .. afterwards now everything works fine, at least the backups work again and I am trying to get the update to work now as well.
 
There are updates for Backup Manager on Plesk autoupdater. This issue is resolved in updates.
 
Thanks, downloading now.
I actually traced the error down to a missing @INC path in PleskX.pl

was fixed by setting this in the shell:

PERL5LIB=/usr/local/psa/PMM/agents/shared; export PERL5LIB

Hopefully plesk updater will do that for me.
 
I found that I need to run pleskbackup with "nice 19" to reduce server load and allow other services run normally.

What I am missing in the new pleskbackup is --skip-domains feature, which prevents me form running it with --all option, it was very useful in psabackup, and if plesk developers read this, please add it.

Thanks,
Alex
 
Back
Top