Our website hosts, One.com, provide a backup & restore service, but nevertheless our Site policy is to perform our own Backups sufficiently frequently to ensure that we have an independent means of recovering, and also a means of porting to another host should this ever be wished.

Backing up:

A Joomla package called Akeeba has been chosen for the purpose of making backups. This package performs an automatic backup eveyy time the Joomla system is updted to a new version, but backups can (and should) also be done manually. To create a backup of the system, follow these steps:

  • You need to log in as a Super Administrator (for example user "suttonpoyntz").
  • In the Components menu, select Akeeba Backup.
  • Now click the Backup Now button;
  • If you want, enter text in the Backup Comment box;
  • Click the Backup Now button again to start the backup.
  • Wait for the backup to finish successfully. This takes time but you get good feedback on progress.

If the backup fails, check the configuration of the Akeeba Backup component (go to Akeeba Backup as above, and click the Configuration button). Akeeba have provided some special notes on how to Akeeba Backup must be configured for those using the one.com server.


Saving and clearing the backup files:

By clicking the Manage Backups button for Akeeba, you can see a list of the backups that have been done, and the files created. Each backup is spread over several files, with extensions .JPA, .J01, .J02, etc.

In principle, you can download the backup files to your computer from Akeeba's Backup Manager, but Akeeba warn that this is not recommended. There are two alternative methods of downloading the files:

  • by logging in to One.com's Control Panel and using their File Manager;
  • or by using an FTP client such as FileZilla to connect to One.com's FTP server.

In each case, you will need a password to gain access. You will need to navigate to folder \administrator\components\com_akeeba\backup, where the backup files are held.

It is recommended for safety that backup files are copied in this way to an adminitrator's own computer. Old backup files can then be deleted from the backup store; this is done by going to the Backup Manager, selecting the old backup and using the Delete Files button.


Restoring the website:

If the site becomes corrupted, or if you want to port the site to another server (such as /localhost on your own computer) it is possible to restore it, using the backup files. To restore the site to a previously backed-up version (one for which the backup files are still available), go to the Backup Manager, select the backup, and click the Restore button. To restore to another location, or when the backup files have been moved and then deleted, the process is more complicated:

  • If you are intending to restore to a sub-site (something of the form http://suttonpoyntz.org.uk/subsite) you need first to create the subdirectory; this can be done from the File Manager accessible after you log in via the One.com Control Panel, or in an FTP client such as Filezilla. You then need to ensure the subdirectory has write access rights, with access code 777 - this cannot be done via the One.com File Manager.
  • If you want to restore to a new site, the site's directory first needs to be created by the service provider, and you need access details in order to FTP to the new site.
  • Now, upload the code and database backup files to the site's root directory (or the subdirectory you have just created) on the server:
    • Run your FTP client programme (such as FileZilla);
    • Connect to the server, at ftp.suttonpoyntz.org.uk. This will connect at the root directory - navigate to the subdirectory if necessary;
    • On you own computer, navigate to the folder where you stored the backup file;
    • Select the backup file(s), and initiate the transfer to the server.
  • Now, obtain and upload Akeeba Backup's kickstart.php;
    • If you have not done so before, obtain the Kickstart Zip file from the Akeeba Backup website. Extract the files from the zip file (the only one you need is kickstart.php);
    • Using your FTP client (as described just above), upload kickstart.php to the same website directory.
  • Run kickstart.php on the server, by navigating to suttonpoyntz.org.uk/kickstart.php in your web browser;
    • In the Kickstart wizard, select the backup file you want to restore from (if there is only one, it will already be selected);
    • Ensure that Write mode is set to Directly;
    • Click the Start button;
    • This will unpack the contents of the backup file into a temporary directory on the server. You must wait for it to finish.
  • Now click the Run button to run the Akeeba Backup Installer;
    • The first page displays the result of checks on the server setup. All the required settings should be green, so click Next;
    • The second page displays the setup for the site's database. The following table lists the values that should be shown here:
      Database type mysqli
      Server host name localhost
      User name suttonpoyntz_or
      Password (for suttonpoyntz_or)
      Database name suttonpoyntz_or
      Existing tables Drop existing tables
      Table prefix (see below)
      Foreign keys suppressed Yes
      Replace No
      UTF8 collation Yes
      Max execution time 5 seconds
    • Table prefix - If you are restoring to a new sub-site, you must change this to something new, a string of 4 or 5 characters plus an underscore. If you are restoring the main site, leave this as it is.
    • Having made sure the settings are correct, click the Next button to start restoring the site;
    • Wait for this to be completed; click OK when finished. While this is happening, the site will be unavailable;
    • The next page displays information about the restored site. Changes should not be necessary, so click Next;
    • Close the window with the Akeeba Backup Installer.
  • Now click the Cleanup button to remove temporary files.
  • If you changed the access rights for a directory, PLEASE now set it back to 755 to remove public write access.