| WordPress

akeeba backup wpThe de facto standard for backing up a Joomla site is Akeeba Backup. The software is excellent, feature rich, and very reliable.

The developer of Akeeba Backup has now created Akeeba Backup for WordPress, which is now in Beta and available to subscribers for testing.

The following tutorial will walk you through creating and restoring a backup using Akeeba Backup for WordPress.

Install and Download

  • Go to the download page and download the WordPress plugin for AkeebaBackup.
media_1397014593963.png
  • Go to your Your WordPress Admin area > Plugins
  • Click Add New
  • Click Upload
  • Choose the file you downloaded
  • Click Install Now
  • Activate the plugin.

Configuration Wizard

After installing the plugin, you'll want to run the Configuration Wizard before doing a backup. This won't be necessary for subsequent backups.

media_1397047375417.png

The Configuration Wizard will then run and optimize your settings for your server environment. For example, it will change the minimum execution time to make the backup as fast as possible without getting restriction errors from the server.

media_1397047466994.png

Backup & Download

  • Click Backup Now
media_1397047774290.png
  • Enter a short description, an optional password that will be used when you restore the backup, and a backup comment if you need it. If you do choose to use a password, please remember to write it down and store it in a safe location.
  • When ready, click Backup Now.
media_1397048040881.png

You'll be taken to a progress screen that will automatically cycle through the different backup steps. If your site has a lot of files on it, especially large ones, you can take a break then come backup and check on it. However, do not go to another page in your browser window until the backup has completed, since this will disrupt the process.

media_1397048204172.png
  • After the backup has successfully completed, go to Manage Backups. 
media_1397048613542.png
  • On the right hand side of your backup description, you'll see the Part 00 download button. Click on it to begin the download.
media_1397048711161.png

Restore the Backup on a Testing Environment

One of the most vital things to do after creating a backup is to download it and attempt to restore it in a test location to make sure the backup works properly. An untested backup is an unreliable backup.

The following restore process is restoring a backup on a testing environment, but can also be used for transferring a site.

  • Go to the AkeebaBackup Kickstart download page and download Kickstart.
  • After downloading Kickstart, unzip the package and note the Kickstart.php file within it.
media_1397050162185.png
  • Move a copy of your backup file and the kickstart.php file into your test directory.
  • Please make sure the test directory is not publicly accessible and/or is password protected.
media_1397050618665.png
  • In your browser, navigate to the test folder. Then click on kickstart.php.
media_1397050638039.png
  • A list of information will pop up. Please read the information, then click the close button.
media_1397050690430.png
  • Double check your settings, then start the extraction process. 
media_1397050820299.png

This is a great demonstration of why to test your backup. In the above screenshot, my backup file was corrupted and I couldn't restore it. It hung on a larger sized file. Thus, I needed begin the process over again.

Please note that I'm not sure whether the above issue was due to an AkeebaBackup bug or simply my browser corrupting the download. If you have a large site, use an FTP program to download the backup, rather than your browser. Also, note that AkeebaBackup is still in beta and once the stable version is released, issues like this should hopefully be nonexistent.

After redoing the previous steps, it worked successfully for me and I'm onto the next step:

media_1397050870960.png
  • Click Run the installer.
media_1397051403630.png
  • If you created a password in the backup step, enter your password, then click Unlock.
media_1397051473892.png
  • Read the information on the page, then click Next when ready.
media_1397051586821.png
  • Enter your test database's information, as well as double check the rest of the settings:
media_1397051653409.png
  • Read the information on the page, then click Next when ready. 
media_1397051706658.png
  • Once the database restores successfully, click Next step. 
media_1397051730722.png
  • Set your Site Parameters as you'd like them. Use the question mark tool tip to the right of each field if you're unsure about any.
media_1397051791234.png
  • When ready, click Next.
media_1397051943466.png

The restore is now done, however make sure to click the Remove the installation directory button. Double check your test directory to make sure there's no installation folder in there. If there is, manually remove it.

Navigate to your site's test URL. Check the site and make sure everything's working, including logging in and checking the admin area.

If everything works, delete the kickstart.php file and you're done.

media_1397051998516.png

Restoring a Live Site Backup

Restoring a backup on a live site is much easier, since it eliminates most of the manual steps and all you have to do is check the settings. Once you've tested the backup with the above process and made sure it works, go to the Manage Backups area in Akeeba Backup.

media_1397052362699.png
  • Select your Backup and then click Restore.
media_1397052436213.png
  • Click Start Restoration and follow the short steps on the screen, as you did with restoring the test backup.
  • Once restored, double check your site to make sure everything's working properly.
media_1397052544305.png

Advanced Settings

As mentioned at the start of the tutorial, Akeeba Backup is feature rich. It has a lot of advanced features, such as storing remotely to Amazon S3, excluding files and folders from the backup, and excluding database tables from the backup. For a full overview of all the feature, check out Akeeba Backup for WordPress' comprehensive documentation.


About the author

Nick is the Director of Support at OSTraining and you can find him in almost every area of the site, from answering support requests and account questions to creating tutorials and software.