Importing archived data

You must have FTP access to import files.

Review the following important notes before you import files.

- The import operation automatically uncompresses the archive and updates your working directories with the archived content.

Do NOT manually uncompress the 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 import files from the archive again. This is a security measure to ensure that the archived files are not corrupted by malicious scripts.

- When you import a site, if the server on which the site is being imported uses a MySQL database having the same name as the one being imported, then the prefix of the database name is changed. This can make your databases inaccessible. It is advised that you import 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 imported, the name is automatically changed to ensure uniqueness. You must change any references to the old administrator name, otherwise you will be unable to connect to the database.

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

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

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

- If you import 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 export server that contains the archived files

- Select the files for import

# Restoring archived data

To import data, in the shortcuts section of the Home page
, click Export/Import (Tools section), then click Import.

go to wizard step1 step2

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

wizard Step1: Enter FTP information

1. In the FTP Server field, enter the name of the FTP server where you have archived the exported 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 of your account on the FTP server.

4. In the FTP Location field, enter the complete path to the export directory on the FTP server.

5. Note: You do not have to specify the path if the exported data is stored in the home directory of your account.

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

6. Click Connect.

wizard Step2: Select the files to import

7. Select the check boxes next to the files you want to import.

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

8. Click Import.

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