• 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 & Restore, how I can do it? [Plesk 10.3.1]

vincenzot

Regular Pleskian
Hello,

I use this command for backup my customers:

/usr/local/psa/bin/pleskbackup --clients-name TEST --output-file=/backup/test
The backup it's ok, I can extract it and I see the data, but I have problem to restore, how I can do it?

I do:

/usr/local/psa/bin/pleskrestore --restore TEST -level clients
but I receive this error:

The file you are trying to upload is not a valid backup file

Where I wrong?
 
Hello,

I have try too to extract the file and import using the .XML file, but nothing restore, plesk give me the result "SUCCESS" but into customers account don't is restored any files from backup.

It's important that the bkp works, I can give you too the data access of my server for check.

I wait your answer please

Thanks you
 
Try to validate backup XML file with something like

# xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/backup_info_0902260453.xml
 
Hello,

backup schema is invalid

backup_vincenzo_info_1108290437.xml:3: element Envelope: Schemas validity error : Element '{urn:envelope}Envelope': No matching global declaration available for the validation root.
backup_vincenzo_info_1108290437.xml fails to validate

I use Plesk 10.3.1 upgrade from plesk 9.5.2 + CloudLinux5

In the topic http://forum.parallels.com/showthread.php?t=113269 I have fix the backup system of plesk because the original file produce an empty backup, if I use the original file of plesk_agent_manager it give me an empty backup.

-rw-r--r-- 1 root root 40685 Aug 12 15:07 plesk_agent_manager
-rw-r--r-- 1 root root 40700 Aug 25 13:19 plesk_agent_manager.original

Is possible to fix this problem or give me the instruction for fix?

Thanks you for your next answer

Regards
 
Hello,

now the backup is valid,

xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd backup_vincenzo_info_1108290437.xml
backup_vincenzo_info_1108290437.xml validates

but I have the same effects ... plesk don't import nothing into httpdocs folder.

I give you the output of actual httpdocs:

[root@web httpdocs]# ls
css forum img index2.php index3.html index.html index.php picture_library test

But in the bacup httpdocs have:

[root@web httpdocs]# ls
css favicon.ico forum forum.ph forum.php img index2.html index2.php index3.html index.html index.php picture_library test

So plesk don't have restored nothing ...

I do:

/usr/local/psa/bin/pleskrestore --restore backup_vincenzo_info_1108290437.xml -level clients -verbose

the result is:

[root@web vincenzo]# /usr/local/psa/bin/pleskrestore --restore backup_vincenzo_info_1108290437.xml -level clients -verbose

<?xml version="1.0" encoding="UTF-8"?>
<restore status="warnings">
<conflict-resolve status="success">
</conflict-resolve>
<deploy status="success">
<object type="client" name="vincenzo">
<object type="domain" name="testbackup.com">
<object type="hosting" name="testbackup.com">
<message code="CantUnpackDomainContent" severity="error" id="49dec7bf-85f4-4851-8279-4002b46f8493">
<description>Can not deploy content of domain testbackup.com</description>
<message code="tRepository::StreamError" severity="error" id="efa3ad30-90c3-46ca-8182-97ea3444eaae">
<description>Archiver error: from /disk1/backup/29-08-2011/test/clients/vincenzo//domains/testbackup.com/backup_testbackup.com_vhost_1108290437.tgz to /var/www/vhosts/testbackup.com:
tar: /disk1/backup/29-08-2011/test/clients/vincenzo//domains/testbackup.com/backup_testbackup.com_vhost_1108290437.tgz: Cannot open: Permission denied
tar: Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: cgi-bin: Not found in archive
tar: error_docs: Not found in archive
tar: httpdocs: Not found in archive
tar: private: Not found in archive
tar: Error exit delayed from previous errors
</description>
</message>
</message>
</object>
</object>
</object>
</deploy>
</restore>


You can view additional information in the log file located in /usr/local/psa/PMM/rsessions/20110829124701679 directory. This directory will be removed automatically after 30 days.

But tgz file works correctly

[root@web vincenzo]# ls -la /disk1/backup/29-08-2011/test/clients/vincenzo//domains/testbackup.com/backup_testbackup.com_vhost_1108290437.tgz
-rw-r----- 1 root root 78967 Aug 29 04:37 /disk1/backup/29-08-2011/test/clients/vincenzo//domains/testbackup.com/backup_testbackup.com_vhost_1108290437.tgz

[root@web testbackup.com]# tar xvf backup_testbackup.com_vhost_1108290437.tgz
anon_ftp/
anon_ftp/pub/
anon_ftp/conf/
anon_ftp/incoming/
cgi-bin/
cgi-bin/test/
cgi-bin/test/test.cgi
error_docs/
error_docs/precondition_failed.html
error_docs/method_not_allowed.html
error_docs/proxy_authentication_required.html
error_docs/request-uri_too_long.html
error_docs/bad_gateway.html
error_docs/bad_request.html
error_docs/not_acceptable.html
error_docs/forbidden.html
error_docs/not_implemented.html
error_docs/unsupported_media_type.html
error_docs/maintenance.html
error_docs/unauthorized.html
error_docs/internal_server_error.html
error_docs/not_found.html
httpdocs/
httpdocs/forum.php
httpdocs/forum.ph
httpdocs/index2.html
httpdocs/index.php
httpdocs/index2.php
httpdocs/forum/
httpdocs/index.html
httpdocs/css/
httpdocs/css/tabs.css
httpdocs/css/style.css
httpdocs/test/
httpdocs/test/cgi/
httpdocs/test/cgi/test.html
httpdocs/test/python/
httpdocs/test/python/test.py
httpdocs/test/python/test.html
httpdocs/test/ssi/
httpdocs/test/ssi/test.html
httpdocs/test/ssi/test.shtml
httpdocs/test/fcgi/
httpdocs/test/fcgi/test.fcgi
httpdocs/test/fcgi/fcgi.py
httpdocs/test/fcgi/test.html
httpdocs/test/php/
httpdocs/test/php/test.php
httpdocs/test/php/test.html
httpdocs/test/apacheasp/
httpdocs/test/apacheasp/test.asp
httpdocs/test/apacheasp/test.html
httpdocs/test/miva/
httpdocs/test/miva/test.mvc
httpdocs/test/miva/test.html
httpdocs/test/coldfusion/
httpdocs/test/coldfusion/test.cfm
httpdocs/test/coldfusion/test.html
httpdocs/test/perl/
httpdocs/test/perl/test.html
httpdocs/test/perl/test.pl
httpdocs/index3.html
httpdocs/img/
httpdocs/img/glyph/
httpdocs/img/glyph/btn_ok_bg.gif
httpdocs/img/glyph/btn_cgi_bg.gif
httpdocs/img/glyph/btn_ssi_bg.gif
httpdocs/img/glyph/btn_php_bg.gif
httpdocs/img/glyph/btn_python_bg.gif
httpdocs/img/glyph/btn_bg.gif
httpdocs/img/glyph/btn_asp_bg.gif
httpdocs/img/glyph/btn_miva_bg.gif
httpdocs/img/glyph/btn_fast_cgi_bg.gif
httpdocs/img/glyph/btn_bg-disabled.gif
httpdocs/img/glyph/btn_perl_bg.gif
httpdocs/img/glyph/btn_coldfusion_bg.gif
httpdocs/img/common/
httpdocs/img/common/banner.jpg
httpdocs/img/common/top_bg.gif
httpdocs/img/common/def_parallels_logo.gif
httpdocs/img/common/content_bg.gif
httpdocs/img/common/arrow.gif
httpdocs/img/common/pws_box.jpg
httpdocs/img/common/pdfm_box.jpg
httpdocs/img/common/def_plesk_logo.gif
httpdocs/img/common/footer_bg.gif
httpdocs/img/common/footer_right_bg.png
httpdocs/img/icons/
httpdocs/img/icons/tabs/
httpdocs/img/icons/tabs/tabs_bg.png
httpdocs/img/icons/success.gif
httpdocs/img/icons/fail.gif
httpdocs/picture_library/
httpdocs/favicon.ico
private/
private/README.txt
subdomains/
web_users/

How I can produce an works backup on plesk 10.3.1 ?

I wait your answer

Thanks you
 
We have already submitted bugreport about this tar problem (#80426 for your reference). As far as I know it should be completely fixed in 10.4 version. I have requested possible workaround from developers and will update thread with any useful information as soon as I receive it.
 
Hello,

do you have any news of that problem? I can't restore my customers if I have an fault on the server.

I wait your answer.

Thanks you.
 
Unfortunately I haven't any news from developers. I suggest you contact Support Team with reference to submitted request. I think it will be much more effectively if this is urgent problem for you.
 
How I can contact the support team?
Anyway I don't think that is only an my problem ... I Have try to install an clean version of plesk 10.3.1 but the problem is the same, so the problem is the new version that is broken, is possible to fix very fast? It's an serius bug. Is possible to receive an work-around for the moment? Or when you think to fix it or release the new version?

Don't is an problem only for me ... I think that it's an serius problem for all customers that use your last 10.3.1 (clean install or upgrade from 9.5.4 the result is the same....backup broken!!!!)

Thanks you for your comprension.
 
After 1 month, this problem is not resolved. Do you have any ETA time when do you think to release the plesk 10.4 ? The backup are very important into control panel, you can't neglecting this problem for long time...

I hope that you release the 10.4 at max end of this month.

Thanks
 
I agree vincenzot
The main reason I have plesk is to know I have backups working properly and also website copying neither work!!!
It's a poor show plesk this update should of been done by now.
 
my problem is I have to move all my website from Plesk 9.5 to the new server and absolutly nothing work.
really really really really really really really really really BAD PRODUCT AND POOR SERVICES !!!!!
I am with Godaddy and right now my old server is dying and I need to restart it 2 times a day now

And with that Plesk software I cant migrate from that server to the new one
I have backup from the other server in FTP repository and I cant upload them to the server repository
I wait wait wait and the session times out without any upload


WOW WHAT A PRODUCT !!!

Maybe they dont realize that we all have customers behind that
 
Similar Issue

Hi Parallels support,

I am experiencing a similar problem when restoring backup. Everything from a 8.2 converted backup is restored to a 10.2 machine. The only exception in the restore of the website are the root folders.(httdocs by example) The error:

Archiver error: from /root/Backup/DumpV10/domains/domain/phosting/converted_docroot_1110191001.tgz to /var/www/vhosts/domainl/httpdocs:
tar: /root/Backup/DumpV10/domains/domain/phosting/converted_docroot_1110191001.tgz: Cannot open: Permission denied
tar: Error is not recoverable: exiting now

If i check root permission on the .tgz it has all permissions. Is there perhaps a workaround for this?Where is it located?
 
hi to all

where i can find the pleskbackup script?

i can't find it on my /usr/local/psa/bin

i've to install it? if yes how can i do and it's free?

thanks
 
Back
Top