1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error message: "Backup file has wrong signature for this server"

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by NormanH, Nov 17, 2009.

  1. NormanH

    NormanH Guest

    0
     
    Hello,

    I tried to restore a backup on another server and got the error message "Backup file has wrong signature for this server". Both servers are running Plesk 9.2.3.

    Here's what I did:

    Make a backup on the old server
    > /usr/local/psa/bin/pleskbackup --server -v --split=1024M --suspend --output-file=umzug_20091116
    That took almost 2 hours and put out 14 files with a total of almost 14 GB.

    Copy all backup files to the new server
    > scp -p umzug_20091116* root@servername:backup

    Restore the backup on the new server
    > /usr/local/psa/bin/pleskrestore --restore umzug_20091116 -level server

    Then it did sth for a couple of minutes and then came the error message.

    Where is my mistake?

    Thank You
    -Norman
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Norman,

    Try to add following options for pleskrestore:

    and post full output here.
     
  3. NormanH

    NormanH Guest

    0
     
    it didn't work

    h1655451:~/backup # /usr/local/psa/bin/pleskrestore --restore umzug_20091116 -level server -verbose -conflicts-resolution conflict_resolution_rules -debug
    Unable to read the conflicts resolution file 'conflict_resolution_rules'

    which file is meant?

    h1655451:~/backup # find / -name \*conflict_resolution_rules\*
    /usr/local/psa/PMM/rsessions/20091116173450393/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091116173451845/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091116180058715/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/2009111618010033/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091117155834527/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091117155836679/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091117160517646/conflict_resolution_rules
    /usr/local/psa/PMM/rsessions/20091117160519535/conflict_resolution_rules
    h1655451:~/backup #
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Just try to compare date of umzug_20091116 file and one of /usr/local/psa/PMM/rsessions/20091116*/conflict_resolution_rules files.
     
  5. NormanH

    NormanH Guest

    0
     
    I took the first one of the files.

    Here's command that I used
    /usr/local/psa/bin/pleskrestore --restore umzug_20091116 -level server -verbose -conflicts-resolution /usr/local/psa/PMM/rsessions/20091116173450393/conflict_resolution_rules -debug > restore.txt

    At the end, it said as usual
    Unable to resolve all conflicts

    I already noticed sth in the log...
    <param name="limit-requested-value" value="17"/>
    <param name="limit-available-value" value="10"/>
    .. but I don't know if there's more to it.

    The restore.txt is attached to this post.

    Thanks
     

    Attached Files:

  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    As you can see there is problem with limit for "max_dom" - requested 17, but available 10. Check domain's limit for client, for license. As you can see this limit should be increased to 17.
     
  7. NormanH

    NormanH Guest

    0
     
    Still get error despite new license

    Thank you so far, Igor.
    I got a new license today which includes 30 domains, so the 17 domains that are in my backup should be fine.
    But I still get the same error message, this time because of - I guess - the different IP address.
    What do I need to do to change the IP in the backup?
     

    Attached Files:

  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  9. NormanH

    NormanH Guest

    0
     
    Thank you, Igor.
    I took the conflict_resolution_rules file and changed all IP adresses to the new one and the restore worked this time. However, I still got the same error message regarding the signature.

    Here's all output:

    I guess I don't have to worry about the certificate error.
    Is there anything in the mentioned directory that I should check? I already checked several files there and didn't find any hints that there were any problems other than the default SSL certificate.

    One more question:
    The restore was made from a backup that was created one week ago. If I make a new backup on the old server, will the restore on the new server overwrite all data (I'd be fine with that), or will it quit with an error because all domains and clients are already there?
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Right, I think that it can be ignored. Unfortunately I have not found anything regarding this error in our internal resources.
    Regarding your question I can say that it depends on version. In pre-9 version it will probably report the error (although, I remember that it may silently overwrite domain data), however in Plesk 9.x it will use resolution policies - complex xml described stuff to decide whether to overwrite existing data or use data from backup.
     
  11. NormanH

    NormanH Guest

    0
     
    I had to do the restore already last friday, so I simply tried it and looked what happened. There were no other error messages when I restored the new backup. So I thought everything was fine. However, I noticed today that sth strange happened. Some of the sites now use more than double of the space than they used before on the old server. I made a screenshot of both and put the most important columns in on picture (see attachment, I marked the most notable differences). One site went from 547 MB to 1123 MB, but had a limit of only 1000 MB, and therefore got suspended. When I checked that site, I found ~100 MB web data and ~450 MB email data, so 547 MB should be correct. Where do the huge differences come from?
    Other than that, all sites seem to work after the restore, so thank you very much for you help.
     

    Attached Files:

  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Norman,

    I can assume only that this size difference can be related to different block size on file system on old and new server? But I'm not sure. You can compare it with something like:

    You should use your partition instead /dev/sda2, of course.
     
  13. NormanH

    NormanH Guest

    0
     
    Well, there's a slight difference...
    :-/

    Old server:
    # tune2fs -l /dev/md1 | grep Block
    Block count: 97400064
    Block size: 4096
    Blocks per group: 32768

    New server:
    # tune2fs -l /dev/md1 | grep Block
    Block count: 243912864
    Block size: 4096
    Blocks per group: 32768

    The block size is the same, but the block count is more than double.
    Is this a Linux or a Plesk problem?
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    If block size the same - it is not Linux platform related issue. I think it is Plesk problem and I can suggest you just correct disk_usage table directly in psa database.
     
  15. NormanH

    NormanH Guest

    0
     
    I checked the knowledgebase and googled, but didn't find anything how to do it.
    Would you have a link for me?
    Many thanks
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Just login to Plesk database with

    And then look at disk_usage table with

    After that you can try to edit needed values there if you familiar with SQL. Contact to Plesk Support Team if not.
     
Loading...