| Thursday, 25 October 2007 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Automated Joomla website backupAs mentioned in other articles, backing up your website is one of the most important things you need to consider when developing and deploying your website. This article gives some details on how to automate Joomla backups using the JoomlaCloner backup component. We've already reviewed the capabilities of the JoomlaCloner component, now we'll give some detailed instructions on how to setup an automated backup solution using this component. First of all you obviously need to install the component, we're assuming here that you know how to do this, and you've already installed the component. Go to the settings and ensure that the settings have been adjusted to suit your needs. Once you have configured the component click on the Generate Backup tab, and click on Continue to ensure that your backups are working correctly.
Once you know that backups are working fine, we now come to automate these jobs. In JoomlaCloner, this is done via a cron job. If you don't know what cron means, don't worry. A very small explanantion of what cron is: cron is a time-based scheduling service in Unix/Linux computer operating systems. What this essentially means is that you schedule jobs on your webserver. The job we will be scheduling is the automated Joomla backup. There are two ways to do this
Create a Cron job which automates your backupThe creators of JoomlaCloner have realised that most people using Joomla fall under the second category, they want an easy way of creating an automated Joomla backup. Telling them to create a cron job is not very helpful. Thus, they have come with another small component called JCron. JCron allows you to create cron jobs, without having to go through all the dirty details... Therefore your next step is to download and install JCron.
Once JCron has been installed, you need to configure it, but thankfully this only requires a few clicks. Go to the JCron Configuration area and make sure that the Cron run is enabled. You can enter your email address to send logs to. Once the cron job has been enabled, you need to set the actual schedule and backup job. Go to JCron > Manage Cron Jobs
Wait for the specified time, and go to View your Backups. If you have setup everything correctly you should find a joomla backup. To check that everything is working correctly and not having to wait for a day, I recommend setting the Minute setting to every 5 minutes to check. Once you have confirmed that it is working, you can activate it to run once in a particular hour.
If you like this article, please spread the word
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Updated ( Tuesday, 06 May 2008 ) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||