If you have a small site or  a blog and want to create regular backups, you could use your Gmail account for that, but lets say it starts to clog up your inbox or even worse it starts to use up your storage space. A friend of mine does it brilliantly. A filter (rule) on Gmail will delete the email with the backup on arrival and it then gets stored in your Bin therefore not using your inbox space and storage capability while keeping it accessible for 30 days. If your site is updated daily you could even have a daily backup.

In a nutshell here is how you do it.

  1. Setup a backup cronjob on your CPanel – send backup to you Gmail account
  2. on Gmail, go to Settings > Filters
  3. create a new filter From: <your server’s email address>  – to know it you need to check the backup email you’ve just received from the cronjob.
  4. on the next step select the options “Skip the Inbox” and “Delete it”
  5. select also “apply to # conversations below” – it will apply the filter (rule) to any existing backup you already have in your inbox

Technorati Tags: , , ,

One Reply to “Blog backup with Gmail”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.