• scissors
    July 6th, 2009HARTDaily Tasks

    You know something needs attention when ..

    .. when google sends you an email letting you know that you ran out of room in your free google mail account!

    google-run-out-of-space-top
    (click to enlarge to a new window)

    google-run-out-of-space-bottomToday, July 6, 2009 I have literally run out of space in my secondary GMAIL account. I have used up 7,345 MB (7.345 GIGS) of space to freely store backups of all the blogs in the HART-Empire Network, dating back to April 2008 – when the last time I had run out of space. In April 2008, the same amount of space resulted in 5,300 MySql backups (and on 6,660 MBs of space!) however, it seems that some of the backups since then have been in ASCII format and not in MIME or sent as an attachment. I probably should be concerned, but I’m not going to cry over spilt milk.

    You can never be too careful about having backups of your blog and MySQL database and I’m thankful that I have never had to restore a backup to date – except when I moved host providers that is. I think I have a good strategy though, with all my blogs that I have created.

    HART’s BACKUP STRATEGY

    (1) MySQL Database Backup

    * WordPress Database Backup – I setup daily backups to be emailed to my secondary GMAIL account automatically. Before I do any major wordpress version upgrades, I do a backup and send it to the server’s hard drive and then FTP that file over to my local computer.
    * I am paying for an extra 80 GIG hard drive on my dedicated server, and have scripts to automatically perform grandfathering backups of all MySQL databases only.

    (2) Template and Files Backup

    * After I setup a blog, I do make a backup copy of the ../wp-content/. files to my local hard drive, but I never keep it current. I do it more or less to see what plugins I use when I created that blog if I ever want to compare 🙂 I do make regular backups of my template theme however. Besides backing up the files from the server to my local hard drive (a mirror copy at all times) .. I also create extra backup folders within the active theme that was copies (e.g. /backup-2009-0706/) and create an archive backup of my template at specific point in time. Let’s face it – I can have a current backup, but with PHP i could make one bad change and have two copies of crap. This way, I can always revert to a working theme anytime.

    MY GMAIL AFTER DELETION

    I have deleted all of my old backups from my secondary GMAIL. I have a third gmail account, and forwarded the latest backups at June 30th for archive purposes .. but really I have no intention of every using them, so I deleted everything!

    google-run-out-of-space-bottom-after

    Backups are not meant to be restored, unless you damaged them and need to restore the data. This is not the case for me (knock on wood). In case you didn’t know – when you delete any emails or spam emails, you don’t actually delete them from your GMAIL Account. They are transfered to the TRASH folder, and if everything goes well – will automatically delete after 30 days – unless you trigger it to delete everything NOW – like I just did!

    Today’s Task

    I have a clean GMAIL account once again, and I will go back to each of my blogs over the next few days to be sure my blogs have the latest plugin installed, and then set each to automatically make a backup daily. Sometimes, on old backup setups .. everything may be already set, but in the meantime I might have added a new plugin or two that creates more MySQL database tables that are not included in the automated backups. This task will force me to fix that oversight.

    How’s your backup routine? Does it exist? What are you doing to protect your database and your blog? Feel free to tell us in the comment section!

    Related Posts with Thumbnails
    Tags: