Posts tagged ‘gmail’

February 10th, 2009

Gmail as a backup storage solution

In a previous post I mentioned that I was using Gmail for backups. I have an automated script that mails an archive of my backed up files to a 2nd gmail account that I setup specially. I’ve added to the backup script so it now also backs up the databases for this blog and my bugs database, and finally also backups up the files for this website.

Gmail provides a generous ~7GB of storage space which should not fill up too quickly, however managing all the backups and removing older backups would add more work to my list of things to do. So I’ll take advantage of some of Gmails features to ease my work load.

Gmail has the ability to set up filters on incoming mail, these filters let you specify critera for emails that when matched certain actions can be taken like applying labels, marking as read, forwarding etc. So I’ve created a filter that ‘Skips the Inbox and applies the label ‘MogeBackup‘ to all mail that comes from my backups. I’ve also marked the mail as ‘Read‘ and selected the ‘Delete it‘ action as well. Now you may be asking why would I want to delete my backup after receiving it? Well, Gmail doesn’t delete mail right away, it moves it to the Trash folder, now here’s the convienient part, Gmail will only delete messages in the Trash folder if they have been in there for more than 30 days. By filtering into the Trash, I let Gmail manage my cleanup my removing backups that are 30 days old or older.

To find all my backups I can put into the search box “in:trash in:MogeBackup

Tags: ,