How To Backup Your Joomla Website Easily?

There are certain things that we usually do after creating a Joomla website such as configuring the settings, customizing the templates, re-arranging the modules to our liking and adding some content. However once you’re done and satisfied with the results, it is very important to back up your Joomla website.

What is a website back up?

A website backup is a copy or snapshot of all your website contents. It may be stored either locally or on an external server. It may also contain all the scripts, media files and your database.

Why is a back up important?

When we manage a website, a million things can go wrong. There could be times when an extension or an update may break certain functionalities and there is no easy way to revert back the changes. Likewise, there have been incidents of data loss due to hardware failure. Moreover, there is also the possibility of hackers breaking into your website and damaging the files there in. Whenever, these events unfold, a back up will come to your rescue.

There are two methods to back up your Joomla website. You can either use  a Backup Component such as Akeeba Backup or create your backup manually.

Back up your Joomla website using Akeeba Backup

The first and the easier method to back up your Joomla website is to use the award-winning Backup Component by Akeeba. With Akeeba Backup you can create backups of your entire website or a part there in with ease. Restoring a complete website backup is as easy as extracting the backup file unto your Joomla root directory and proceeding as you would normally install Joomla.

Akeeba Backup Professional, which is the paid version, comes with more features such as backing up to an external server but for this tutorial, we will stick to the free version.

How to install, configure, create backups and restore using Akeeba Backup

Installation

  1. Download Akeeba Backup.
  2. Upload and install the component from the Extensions Manager as any other extension.

Alternative method

  1. Navigate to Extensions > Manage > Install.
  2. Select ‘Install from Web’ tab.
  3. Search for Akeeba Backup.
    Back up your Joomla Website - Webinstall
  4. Select and install the component.

Configuration

  1. The first time you open Akeeba Backup, you’ll be prompted with the self-configuration wizard. So, let it run.
    Back up your Joomla website - Akeeba configuration wizard
  2. After the self-configuration and bench-marking is complete, click on Configuration.
    Back up your Joomla website - Akeeba configuration
  3. Under Basic Configuration, set your Output Directory i-e, where you want your backups to be created. The default Out Directory is yourdomain.com/administrator/components/com_akeeba/backup.
    Back up your Joomla website - Akeeba output directory
  4. Under Advanced Configuration, set the format of your backup file. The jpa format is recommended by the developers but it will require the Akeeba Kickstart script for restoring from your backup. Meanwhile, if you select zip as your format, you can simply extract the backup file using your File Manager and proceed with the restoration.
    Back up your Joomla website - Akeeba backup format
  5. Under Quota Management, set the maximum number of backups to be created before deleting the older backups.

Creating Backups

  1. Navigate to Components > Akeeba Backup.
  2. Click on Backup Now – this will create a complete backup of your website including the corresponding database.
    Back up your Joomla website - Akeeba Backup link

Restoration

Depending on the format of your backup file, there are two methods to restore from it.

  1. Zip format
    • Copy or upload the backup file via FTP to your Joomla root directory.
    • Extract the file using your File Manager.
    • Open a new browser window and visit your Joomla site URL.
    • Proceed with the restoration which is pretty much self-explanatory.
  2. JPA format
    • Copy or upload the backup file to your Joomla root directory.
    • Upload the Akeeba Kickstart script to the same directory where you have the backup file. Please note that you only need to upload kickstart.php from the downloaded package.
    • Launch the Kickstart from a new browser window by visiting yourdomain.com/kickstart.php.
    • Proceed with the restoration. While you’re at it, you’ll be prompted for the backup file name and so on but they’re  all self-explanatory.

Manually backing up your Joomla website

Before the backup scripts were released people had resort to this method. The manual backup consists of archiving your website into two part separately – every Joomla-related file inside your root folder and the database.

Backing up your Joomla files

  1. Select the folders and files inside your Joomla root directory.
  2. Zip or compress the files suing the File Manager.
  3. Copy the archive to a different location or download it to your computer.

Backing up the database

  1. Open phpMyAdmin from your Control Panel and login.
  2. Select your database.
  3. Click export to download it to your computer.
    back up your Joomla website - Export Database

Manually restoring your Joomla website

  1. Extract the archived file to your Joomla root directory.
  2. Remove any existing table from the database you’re importing into.
  3. Import the database via phpMyAdmin.
    Importing database using phpMyAdmin

Note:

  • If you’re importing to a new database then you need to edit the configuration.php to match the new database name, username and password.
  • The size of the database that you import via phpMyAdmin is limited by the php.ini upload limit.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Where is my WordPress configuration located and how can I edit it?

The WordPress configration file is located in the WordPress installation directory with the name...

Wordpress Fatal error: Allowed Memory Size Exhausted?

Memory allocation and exhaustion problems within WordPress installations. By default, our...

WP Super Cache Plugin

One way to optimize WordPress is to install WP Super Cache, which can be done from your WordPress...

What Applications Are Required To Run WordPress?

To run the WordPress blogging software following applications should be installed on the...

PostNuke Hosting

What is PostNuke ? PostNuke (a.k.a. Zikula) is one of the best open source, open development...