Friday, July 30, 2010
   
Text Size

Chapter 3. Restoring backups and migrating your site to a new host

Rate this item
(6 votes)

Restoring backups and migrating your site to a new host

Getting the backup files on the server

Despite the new integrated backup restoration option which allow restoring on the same location the backup was taken from, in order to migrate your site to a different host / location you'll have to use a similar procedure to the one you use for installing a fresh copy of Joomla!. The first thing you have to do is to get the backup files extracted on the target server. There are several way to accomplish this, some of these outlined in this section. The next step, the actual restoration process, is covered in the following section by installer version.

[Tip]Tip

A full site backup produced by JoomlaPack contains all of your site's files, a copy (dump) of your database and an installer. You do not need to take a database only backup in order to restore or migrate your site . This is a common misconception among novice users.

[Warning]Warning

Some people install a fresh copy of Joomla! before restoring their site. This is not necessary, in fact it is discouraged ! The point of having an automated backup utility is that it is able to produce a self-restoring backup set. This is exactly what JoomlaPack does. Please, do not waste your time installing Joomla! before restoring the backup. Even if you are migrating to a completely new (as in empty) host, the contents of the backup archive are sufficient.

[Important]Important

If you use anything other than Kickstart to get the backup files on the server, please rename the .htaccess file on your site's root to something else, for example htaccess.txt before using the installer script. Since this file may contain filters and restrictions appropriate only for a configured site (such as SEO redirection filters or access permissions on system folders) there is a high chance of server 500 errors and restoration failure. Remeber to rename the file back to .htaccess after the restpration is over!

Extracting using your domain control panel

Many hosting sites use CPanel or a similar domain administration utility to allow you to manage files on your site. This utility may allow you to extract the contents of your compressed backup file directly to your site. When this utility is available, it is usually much faster than transferring the extracted files via FTP.

[Warning]Warning

Some control panels will refuse to overwrite existing files. If you have an existing installation of Joomla! its files will not be overwritten. Please check with your host about the behaviour of your domain control panel software.

Transferring the backup contents manually

At first, you should have downloaded the archive that JoomlaPack generated somewhere on your local computer. Unpack that file (Windows users should preferably use the open-source 7-Zip archiver) in some directory. Following, you'll have to transfer all of the extracted files to your web host, for example by means of FTP.

[Tip]Tip

If you are having error messages from your arhiver that the ZIP archive is corrupt, or that some files have a CRC32 error, or you want to extract a JPA file, please use JoomlaPack eXtract, part of the JoomlaPack Native Tools 2009 and later versions.

Please note that the original alpha release of JoomlaPack eXtract and JoomlaPack Native Tools 2008 wouldn't work as intended.

Using Kickstart

JoomlaPack authors have created a nifty web-based backup extraction utility called Kickstart. It is able to extract your backup archive directly on your server, using normal PHP file writing functions or FTP mode. For more information, please refer to the Kickstart chapter in this User Guide.

Last modified on Wednesday, 17 February 2010 14:39

Sponsored Links

JoomlaTutorials
Learn how to make Joomla! work the way you want it to. Animated tutorials, tips, articles and more.
www.JoomlaTutorials.com

Support Unavailability

Enhanced Support will experience reduced or no availability during the dates marked in red on the calendar below. If you file a support ticket during this period, we might take longer to get back to you.

Calendar shown in Athens timezone
See the full calendar