A SERVICE OF

logo

Backing Up and Restoring Your Data 229
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.