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

Parallels 9.3.0 - Restore from v8.5 Completes OK. Yet nothing is restored!!!

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by TheoK, Apr 9, 2010.

  1. TheoK

    TheoK Guest

    0
     
    Hi,

    I am rather puzzled about this. I'm trying to move a Parallels 8.5 backup from my old Reseller hosting to a new VPS wich runs Parallels 9.3.0

    * First At the web CP I created a reseller account with the same info as my old reseller account.
    * Then I uploaded the v8.5 backup via FTP
    * I then converted it to the new backup format of 9.x
    * Placed the files under /var/lib/psa/dumps/ and the new backups where placed under subfolders clients/ and resellers/
    * Back to the web CP I Navigated to Resellers -> <Reseller Name> -> Backup Manager.
    * I Located The file and clicked it, in order to restore.
    * Provided the restore options: Reseller account configuration [checked], Reseller's domains [checked], Reseller's clients [checked] and hit OK.

    After a short period plesk returned a sucess message, saying that the backup was restored successfully. In reallity *NOTHING* is restored.... No domains, no clients, no settings... no nothing.

    I tried with 9.0.1 then upgraded to 9.3.0 yet nothing changed.

    I also downloaded an activity log. Nothing significant there.

    Am I thinking wrong when I believe, I dont need to create domain placeholders as reseller in order for Parallels to find them and restore the data, or should I do that first?

    Any help will be much appreciated! Thanks.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to check converted backup with

    And try to restore it if it is OK:

     
  3. TheoK

    TheoK Guest

    0
     
    Still no good news I'm affraid :(

    Hi Igor, and thanks for replying...

    I tried what you said:

    * Assume <client name> as the actual username of the client-reseller.

    Code:
    [root@srv ~]# /usr/local/psa/bin/pleskrestore --check backup /var/lib/psa/dumps/clients/<client name>/converted_<client name>_info_1004091229.xml
    Backup file is valid
    
    And..

    Code:
    [root@srv ~]# /usr/local/psa/bin/pleskrestore -i /var/lib/psa/dumps/clients/<client name>/converted_<client name>_info_1004091229.xml
    ------------------------------------------------------------------------
    Backup information
    Dump version: 9.0
    File: /var/lib/psa/dumps/clients/<client name>/converted_<client name>_info_1004091229.xml
    Type: Client
    Comment:
    Date: 1004091229
    Size: 271 M
    ------------------------------------------------------------------------
    [Client] <client name>
      [Domain] example1.com.gr
      [Domain] example2.gr
      [Domain] example3.gr
      [Domain] example4.gr
      [Domain] example5.gr
    ...
      [Domain] example20.org
    [root@srv ~]#
    
    Just in case I'm enclosing you ownership/permissions of the backup files.
    Code:
    -rw-r--r--  1 root root 165568 Apr  9 12:30 converted_<client name>_info_1004091229.xml
    -rw-r--r--  1 root root   1515 Apr  9 12:29 converted_<client name>_skeleton_1004091229.tgz
    drwxr-xr-x 13 root root   4096 Apr  9 09:41 domains
    
    Note that if you look carefully I checked / restored a backup inside the reseller-client dump directory, as there was no xml info in the root dumps dir (/var/lib/psa/dumps)

    Still in the web interface I see no installed domains (Domains: 0).

    What am I doing wrong ????
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Do you have default limited Plesk license there?
     
  5. TheoK

    TheoK Guest

    0
     
    I have a license for 100 domains.

    What do you mean "default limited" ?? How can I provide more detailed information?
     
  6. TheoK

    TheoK Guest

    0
     
    These might be of a good use to you (maybe?)
     
  7. TheoK

    TheoK Guest

    0
     
    Just an update:

    -i option is not used to display info, and not to restore any files...

    I used:
    Code:
    pleskrestore --restore <full_path_to_file> -level resellers
    unfortunately it tells me that it could not resolve all conflicts. I am trying now to find more info about the conflicts resolution file. The same error happened with -level clients

    When I used -level domains though the system responded:
    Code:
    close failed: [Errno 32] Broken pipe
    Will have more information soon.
     
  8. TheoK

    TheoK Guest

    0
     
    Fixed!!!

    OK ... I got it fixed!

    Seems that the problem was that I used the same name on the backup's client name, with the server contact name. Thus plesk was conflicting and quitting the restoration process without telling me (from the backup manager).

    Migration manager on the other hand worked realy well and show me the conflict warns & log files...
     
Loading...