## Restoring Data From Backup Archives

You can restore data backed up by Plesk 7.5.4 control panel. Before you restore such data, you need to log in as root to your server and run the conversion utility for each backup file created by 7.5.4 as follows:

`plesk_installation_directory/bin/backup-convert.py convert -o <new backup file name> <old backup file name>`, where <new backup file name> is the path to the new backup file created by the conversion utility, and <old backup file name> is a backup file created by Plesk 7.5.4.

To restore the server configuration and all user data from a backup file:

1. Log in as root to your server.
2. Change to the directory, where Plesk is installed:

   `cd /plesk_installation_directory/bin`

3. Generate a file that defines mapping of items (user accounts, sites, etc.) stored in the backup file to the items currently served by your Plesk hosting platform. To do this, run the following command from the command line:

   `./pleskrestore --create-map <backup file name> -map <map file name>`

   If you have a multivolume backup, you should specify the first volume as the <backup file name>.

   A mapping file will be generated and saved to the specified location. In most cases you will not need to edit this file: you will need to review its contents and specify mapping for items only if you fail to restore data from a backup due to object conflicts (for example, the range of IP addresses listed in the backup file is different from those available on the server), or if you wish to specify individual objects that should be restored.

4. To restore all backed up data, including server and control panel configuration, applications vaults, user accounts, web sites, databases, and mailboxes with e-mail messages, run the command:

   `./pleskrestore --restore <backup file name> -map <map file name> -level all`

   where the <backup file name> and <map file name> are the paths to the backup and map files, respectively. If you have a multivolume backup, you should specify the first volume as the <backup file name>. The data will be restored without disruption of hosting services and downtime. The server configuration settings and all user data (including the content of Web sites and messages in mailboxes) will be overwritten.

To restore a user account with domains:

1. Click the Clients shortcut in the navigation pane.
2. Click the client name you need.
3. Click the Backup icon in the Tools group.
4. If you wish to restore data from a file stored on an FTP server, click the FTP Repository tab.
5. Click the backup file name you need.
6. Select the Restore client's preferences and account details check box.
7. Select the domains that you would like to restore.
8. Click Next >>.

   If this account or any of its domains were assigned other IP addresses or database servers than specified in the backup file, you will be prompted to resolve the conflicts by selecting the new IP address and database server to use. Click Next >>.

9. Restoring will start and its progress will be shown. To update the information on the screen, click Refresh.
10. Upon completion of the restoring process click OK.

To restore a domain (Web site):

1. Click the Domains shortcut in the navigation pane.
2. Click the domain name you need.
3. Click the Backup icon in the Tools group.
4. If you wish to restore data from a file stored on an FTP server, click the FTP Repository tab.
5. Click the backup file name you need.
6. Click Restore Now.

   Restoring will start and its progress will be shown. To update the information on the screen, click Refresh.

7. Upon completion of the restoring process click OK.