• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Restore backup made in Plesk 11.x

Status
Not open for further replies.

Spikerok

Basic Pleskian
I have tried restoring my backup that consists of 23 tar files with at least 1GB each that were generated in Plesk 11. I had to re-image my server and the only Plesk version my hosting provider could offer was Plesk 12.

So I have run my in command line: /usr/local/psa/bin/pleskrestore --restore Backup_1408310643.tar -level server

And received following message:
The specified backup file is corrupted, modified, created on another server or in an earlier Plesk version. To restore it, use the -ignore-sign option.

Did someone else had similar experience?

It would be great if someone could advice if it is safe to use "-ignore-sign" option while importing backup from Plesk 11 into Plesk 12, or some other work around.

thanks


edit --
I happen to find following guide: http://kb.odin.com/en/1727

So I presume I can convert it using a line below?
/usr/local/psa/bin/backup-convert convert --output updated_backup/backup Backup_1408310643.tar
 
Last edited:
Perhaps backup file did not pass validation of schema. You can find possible reasons of this with following command:

# find /var/lib/psa/dumps/ -name status_WRONG*
 
I run this command but my dump folder is empty. Ive tried downloading backup to the server from ftp backup area via backup manager in Plesk, but after 2-3 minutes of loading nothing happens.

I have also tried copying my own copy of the backup files to the /var/lib/psa/dumps file but backup manager in Plesk didn't pick up this backup at Server Repository section.

I am considering to use backup manager to try and restore file from personal ftp repository, file is 22GB and just a download would take about an hour, it could be quite frustrating not knowing what happens on the background, if file was actually downloaded and if restore is running...

So should I just use
/usr/local/psa/bin/pleskrestore --restore backup2608_14.tar -ignore-sign -level server ??


edit --
this is an error I have when restoring backup:
[2014-09-02 09:14:36.640|13768] INFO: ENV[LANG]=en_US.UTF-8
[2014-09-02 09:14:36.640|13768] INFO: Executing utility: /usr/local/psa/admin/sbin/backup_sign --verify-dump /var/lib/psa/dumps/backup2608_1408261804.tar --session-pat$
[2014-09-02 09:14:36.695|13771] INFO: backup_sign started : /usr/local/psa/admin/sbin/backup_sign --verify-dump /var/lib/psa/dumps/backup2608_1408261804.tar --session-$
[2014-09-02 09:18:28.563|13771] INFO: VerifyError[407983eb-5f17-4cfd-8962-512fc13fd03c]: Signature is wrong [./backup_sign.cpp:550]
void plesk::verifyDumpFile(const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_t$
[2014-09-02 09:18:28.568|13771] INFO: backup_sign finished. Exit code: 1
[2014-09-02 09:18:28.570|13768] INFO: The utility executed with the return code 1
[2014-09-02 09:18:28.570|13768] INFO: pmm-ras finished. Exit code: 116
 
Last edited:
Try to find more related errors in /var/log/plesk/PMM/restore-... log files.
 
I have tried using -ignore-sign and i have received following error:
<?xml version="1.0"?>
<conflicts-description>
<conflict id="1" guid="3769da1a3dddbdf0d6a213be2eded92c">
<type>
<configuration>
<reason-description>
<required-resource-description>
<db-server host="localhost" type="postgresql" port="5432"/>
</required-resource-description>
</reason-description>
<resolve-options>
<option name="do-not-restore"/>
</resolve-options>
</configuration>
</type>
<conflicting-objects/>
</conflict>
</conflicts-description>


Import log is basically import log is empty:
[2014-09-02 10:07:26.501|14864] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --convert-local-dump --dump-storage=/var/lib/psa/dumps/ --dump-specification=b$
[2014-09-02 10:07:26.501|14864] INFO: Repository '/var/lib/psa/dumps/': Initializing...
[2014-09-02 10:07:26.502|14864] INFO: Repository '/var/lib/psa/dumps/': Initialized
[2014-09-02 10:07:26.513|14864] INFO: Repository '/var/lib/psa/dumps/': Convert local backup to current Panel version backup_info_1408261804.xml
[2014-09-02 10:07:26.513|14864] INFO: ENV[LANG]=en_US.UTF-8
[2014-09-02 10:07:26.513|14864] INFO: Executing utility: /usr/local/psa/bin/pre10-backup-convert --can-convert -source /var/lib/psa/dumps/backup_info_1408261804.xml
[2014-09-02 10:07:26.911|14864] INFO: The utility succesfully executed.
[2014-09-02 10:07:26.911|14864] INFO: The return code was
The output on STDOUT was:
false
No output on STDERR were performed by the utility
[2014-09-02 10:07:26.911|14864] INFO: pmm-ras finished. Exit code: 0
[2014-09-02 10:07:26.950|14870] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-child-dumps --dump-storage=/var/lib/psa/dumps/ --dump-specification=back$
[2014-09-02 10:07:26.950|14870] INFO: Repository '/var/lib/psa/dumps/': Initializing...
[2014-09-02 10:07:26.950|14870] INFO: Repository '/var/lib/psa/dumps/': Initialized
[2014-09-02 10:07:26.950|14870] INFO: Repository '/var/lib/psa/dumps/': Get all child backups for backup_info_1408261804.xml
[2014-09-02 10:07:26.962|14870] INFO: pmm-ras finished. Exit code: 0
 
Last edited:
Looks like you have not installed Postgresql support on this server. Try to install it and repeat backup restoration procedure.
We have already submitted report regarding this issue (PPP-9074 for you reference). Developers are working on it.
 
IgorG, thank you for all your help.

At the end we had a member of your team having a look at it and they have fixed it. I am not sure on what exactly they have done but i saw that they have created two more .xml files, similar to the one that was generated after I have run "/usr/local/psa/bin/pleskrestore --restore backup2608_14.tar -ignore-sign -level server", and both were similar to the generated file but they have amended both of them, so i presume first xml file was a test file and second one had all the errors fixed.
 
Status
Not open for further replies.
Back
Top