How to Schedule Regular Database Backup to Dropbox

backup-db-mainPreviously, I have shown you how to schedule a database backup using cron job and email yourself the database file, but if you have a big database, you will find that the emailing method might not work as well as you want it to be. A good alternative to this is to upload your database to Dropbox. Here is a simple script that you can use to backup your database to Dropbox.
[Read more...]

How to Schedule Database Backup Using Cron Job

backup-keyFor backing up of your WordPress database, there are plenty of plugins around that can get the job done. Some of them backup only your database while others backup the whole WP directory. If you have used WordPress long enough, you will realize that these plugins are not reliable. They will work one day and fail another day, for thousand and one reasons. It could be that they are not compatible with the new WordPress version that you have upgraded to, or that they are conflicting with a newly activated plugin. As in my case, it could also because your database is getting too big for them to handle.

Whatever the reasons, rather than relying on plugins, a better alternative is to use a cron job in your server and schedule it to backup your database everyday.
[Read more...]

How To Automate Tasks In KDE

task-scheduler-iconKDE provides users with the tools to run software automatically using two features: Autostart and Task Scheduler (formerly called KCron). These tasks can be initiated immediately prior to KDE startup, during KDE startup, or scheduled at anytime: daily, hourly, weekly, or even every five minutes. Both of these features were present in KDE 3. Autostart programs could be dropped into the ~/.kde/share/autostart directory, and automated programs (cron jobs) could be created through a standalone application called KCron.

With KDE 4, Autostart and KCron are now both integrated into System Settings. To start either one, simply click on the K menu and then click System Settings. Next, click the “advanced” tab. Under the Advanced User Settings section, you should see Autostart, and under the System section, make sure that you see Task Scheduler. On my Kubuntu system, Task Scheduler was not installed, so I had to start kpackagekit and install the kcron package. [Read more...]