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 , click Export/Import (Tools section), then click Import.
- In the FTP Server field, enter the name of the FTP server where you have archived the exported data.
- In the FTP Login field, enter the user name of your account on the FTP server.
- In the FTP Password field, enter the password of your account on the FTP server.
- In the FTP Location field, enter the complete path to the export directory on the FTP server.
Note: You do not have to specify the path if the exported data is stored in the home directory of your account.
- In the Email field, enter the email address at which you want to receive import status notifications.
- Click Connect.
- Select the check boxes next to the files you want to import.
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.
- Click Import.
The status of the import will be conveyed to the email address specified in the Email field.