| Type: |
Code 
|
| Level: |
Expert
|
| Date: |
2007-Sep-11
|
| Visited: |
1613 times
|
| Rating: |

|
| Author: |
Stephen Think |
|
|
This tutorial will help you recreate/restore domains in Plesk in case you experience
1. Hard drive crash/failure
2. OS failure or kernel panic
3. Unrecoverable Plesk Upgrade Failure
The important point is that and you have access to the original/old Plesk hard drive
Make sure that you first add domain.tld in Plesk and setup a physical hosting for it.
In next instructions provided we assume that you have the original drive working as slave and mounted at /mnt/old_drive
For each domain(virtual hosts) most likely you will need only the contents of /mnt/old_drive/var/www/vhosts/domain.tld/httpdocs. You can simply copy all files and directories from this directory to /var/www/vhosts/domain.tld/httpdocs. Use the following command
cp -R /mnt/old_drive/var/www/vhosts/domain.tld/httpdocs/* /var/www/vhosts/domain.tld/httpdocs/