Restoring archived data

You can selectively restore files from a backup.

Example. You can restore a particular site to the exclusion of other backups.

You must have FTP access to restore files.

Review the following important notes before you restore files.

- During the restore operation, the backed up file is automatically uncompressed and your working directories and files are updated with the archived content.
  Do NOT manually uncompress the backed up file to make changes to the archived files and upload them again as a compressed .gz file. If the files in the archive are manually modified, you cannot restore files from the archive again. This is a security measure to ensure that the archived files are not corrupted by malicious scripts.

- If a file by the same name as the one being restored exists on the server, then the existing file is not replaced or overwritten, in other words, the file is not restored from the backup.

- When you delete a reseller, you automatically assume ownership of all the sites formerly owned by the reseller. After deletion, when you restore the site, the site continues to exist under your ownership, unless the site is modified to transfer ownership back to the reseller.

- When you restore a site, if the server on which the site is being restored uses a MySQL database having the same name as the one being restored, then the prefix of the database name is changed. This can make your databases inaccessible. It is advised that you restore the site onto a different server that does not use a database with the same name.
  If the Database Administrator name already exists on the server where the database is being restored, the name is automatically changed to ensure uniqueness. You must subsequently change any references to the old administrator name, otherwise you will be unable to connect to the database.

- You will lose bandwidth usage logs in the following operational scenarios:

- If you delete a site from the server and further restore this site onto the same server

- If you restore the site onto a server different from the server used to back up the site

Restoring files is a two-step process.

You need to:

- Connect to the backup server that contains the archived files

- Select the files to be restored

# Restoring archived data

To restore data, in the shortcuts section of the Home page, click Backup/Restore (Tools section). In the Backup/Restore submenu, click Restore. The Restore form opens.

Go To wizard step1 step2

You need to specify the FTP server details and select the files to restore.

wizard Step1: Enter FTP information

1. In the FTP Server field, enter the name of the FTP server where you have archived the data.

2. In the FTP Login field, enter the user name of your account on the FTP server.

3. In the FTP Password field, enter the password to the FTP server.

4. In the FTP Location field, enter the complete directory path of the backup directory on the FTP server.

5. In the Email field, enter the email address at which you want to receive email status notifications.

6. Click Connect.
   The Restore form opens.

wizard Step2: Select the files to restore

7. In the Restore form, select the check boxes next to the files you want to restore.

8. Note: Files split into multiple files during backup can be restored as a single file. Select the main backup file (<backupfilename>.tar.gz), then select the Enable Recurse check box (displayed at the end of the file listing). Do not select the individual files (<backupfilename>.<x>.tar.gz> where <x> indicates each individual file) that constitute the main backup file.

8. Click Restore.

The status of the restore will be conveyed to the email address specified in the Email field.