I’ve had WordPress sites hacked in the past and more recently John Thornhill has had his Partnership to Success site hacked twice (also a WordPress site). Which was a reminder that I was yet to sort out any backups for my WordPress sites, so I went in search of a solution.
I use Google Drive a lot so I was keen to find a solution that would backup my sites to there. I have Google Drive set up on the two laptops I use and it will sync my files between both laptops as well as being stored in the cloud on Google’s servers.
There are a number of paid solutions out there but I was hoping I might find a free option that would fit the bill. I came across WP-Google-Drive, a WordPress plugin that does what I need and is free.
Unfortunately the plugin doesn’t seem to be actively updated any more, but as of the time of writing it is backing up my sites just fine, so I’m happy with that. I’ll be honest and say that it can be a little fiddly to get it setup. You have to enter some details on the Google API site and this can be somewhat daunting. But once you have it setup, it will backup the entire site’s files and database, add them to a zip file and put it in Google Drive.
You can set how frequent you want your site to be backed up. I have it set to weekly as my sites aren’t being updated that often. But you would want to increase this if your sites are being updated more frequently. You have the option of getting an email sent to you every time a new backup is created which is handy.
Like I said the plugin is fiddly to set up, but it does exactly what I want it to do and it’s not costing me anything. So I’m willing to put up with that. Also, once you’ve set it up on one site, subsequent sites are much quicker to set up.
You can find the plugin by going to the plugins section of your WordPress admin area and clicking on add new. Search for wp-google-drive and it should be the first item that comes up in the results. Alternatively here is a link to the plugin on the WordPress site WP-Google-Drive which also contains an installation video that you’ll want to watch.
Like I said at the beginning of this post, I’ve been hacked in the past and it was a complete nightmare trying to get all the sites back online without any backups to use. So setting up this plugin or any other backup solution will be time well spent should you ever have one of your sites hacked.