Search

Language:  
Search for:

Available article translations:

How can I restore client's backup on another server?

Article ID: 116792, created on Aug 16, 2013, last review on Aug 12, 2014

APPLIES TO:
  • Parallels Plesk

Symptoms

You have a backup created under customer and you need to restore it to other Plesk server. The initial server is not accessible.

Resolution

Such way to restore backups is not oficially supported you should restore backup which has exported format. Please check Plesk Server Backup Script to get information how to create backups properly.

However you can try to use the following workaround to restore data:

  1. Find out customer name and GUID on source server. Find a line in file backup-client1_customer1_info_1307151439.xml like below:

    <client skin="Vista" name="customer1" contact="customer1" guid="1d5fb49f-e9c2-4371-b7e3-ad75af1e3baa" id="2" owner-guid="2f8c9301-70cf-4568-abd9-d718dee8828d" cr-date="2013-07-12">
    

    You can see that name="customer1"

  2. Create a customer with the same name as on destination server. The newly created customer will have a different GUID and owner's GUID as opposed to GUIDs in backup.

  3. Determine the current GUID of customer and its owner on the destination server in clients table:

    # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
    mysql> select id,login,guid,parent_id from clients;
    +----+-----------+--------------------------------------+-----------+
    | id | login     | guid                                 | parent_id |
    +----+-----------+--------------------------------------+-----------+
    |  1 | admin     | 2f8c9301-70cf-4568-abd9-d718dee8828d |      NULL |
    |  2 | customer1 | 1d5fb49f-e9c2-4371-b7e3-ad75af1e3baa |         1 |
    +----+-----------+--------------------------------------+-----------+   
    

    As you can see above customer with login customer1 has GUID 1d5fb49f-e9c2-4371-b7e3-ad75af1e3baa. Client's owner is admin because parent_id=1 which is refers to admin with GUID 2f8c9301-70cf-4568-abd9-d718dee8828d.

  4. So apply appropriate changes in .xml file and perform backup restoration.

    <client skin="Vista" name="customer1" contact="customer1" guid="1d5fb49f-e9c2-4371-b7e3-ad75af1e3baa" id="2" owner-guid="2f8c9301-70cf-4568-abd9-d718dee8828d" cr-date="2013-07-12">
    

Search words:

restore customer backup to other Plesk

migration and transfer from another plesk server




c81e59b61af9dca603ba03b14aabe968 56797cefb1efc9130f7c48a7d1db0f0c

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification