Whether you are new to WordPress or an expert, you should know that backing-up your wordpress blog is an essential step you must take after installation of your WordPress site. Not just once but regularly to prevent loss of your work after a hosting failure, hacking attack or even plugin failure .
Sooner or later, something will go wrong with your site – whether that’s a hosting failure, a hacking, a plugin problem – backing up regularly will prevent any stress should this happen. Depending on the scale of your site you will want to keep an hourly, daily or weekly backup incase something goes wrong. We have looked at the Backup Buddy plugin and a free plugin to backup to Dropbox in the past. I would recommend one of these solutions in addition to the backup provided by your web hosting company.
Today’s Tutorial is about “How to backup WordPress to Google drive” before we go through the tutorial we need to know what is Google’s latest amazing service ” Google Drive”. Google Drive is new Cloud Storage service by Google that was released on April 24, 2012. Google Drive gives all users 5 GB of cloud storage to start with, You can upgrade your plan from 5GB to 25GB by paying small fee of $2.45/month” or 100GB for $4.99 / Month.
In this Guide I’ll show you how to use the free wordpress plugin “Google Drive for WordPress” to backup your WordPress site regularly or manually and how to store those backups on Google drive.
Install The Plugin
Download Google Drive plugin, then in your WordPress admin, visit “Plugins” > “Add New” > “Upload” and upload the file.
Activate the plugin and you will see a new menu item called “Configure Google Drive”
Configure The Plugin To get Access To Your Google Drive
Open ” Google Api Console” in new tab so you can create Authorize client Id.
Click Create Project, Then give the project name for example “Wplift Backup” and Logo image url to show next to your project.See below.
“Authorized Redirect URIs” Given by the plugin and you can find it in the plugin admin page it will be some thing like “http://yoursite.com/wp-admin/admin.php?page=configure_google&action=auth”.
Click create account id then get the “Client ID” and “Client secret” as seen in the example below.
Then paste the Ids in to the plugin admin page and click “Allow Access” see below.
Configure The Plugin
Now after authorize the plugin to use Google drive as remote backup storage you need to configure the plugin to select the type of backup you wish to have if it “Files only ” Database only” or both.
1: Backup Setting, there you can see the plugin setting whatever you need to receive E-mail notification if the backup done or not,BackUp Schedule ( Schedule an automatic backup on your google drive) and finally the time of next Schedule.
2: Database Setting, Where you can chose if you want to include the database in the backup or not, Exclude some tables and not include them in the database backup, Select number of database backup you want to keep in Google drive from one to three or manage old database by “Download,Move or Delete”.
One Time Backup
This option allow you to do manaul backups and you can also test if the plugin work for you or not by click”backup now” after clicking the button it will show ” Processing” and after the plugin finish the job you will receive a notification E-mail with the backup info.
Check backups on Google Drive
After successful backup you can manage your backup files in your Google Drive account it will be some thing like the example below.