Backups makes life easier. Having proper backup means you are ready to face any disaster in the feature. WordPress is powered by MySQL database, hence its an important task for any blogger to have his blog backed up at least once a day.
I usually backup my blog using premium myRepono backup solution, one of the cheapest and most reliable backup solution for WordPress bloggers on the internet. recently I came through a WordPress plugin -Google Drive for WordPress; which makes backups of your WordPress blog files and Mysql database to Google Drive.
Why Google Drive?
Because it’s a Google product. Well, that’s not a single reason to go for it also, it has 5 GB of free space as well as backed by Google’s maximum security.
In today’s post I’ll show you how to set up a scheduled backup of your WordPress blog to your free Google drive cloud storage.
Step 1: Install Google Drive Plugin
First, you must install Google Drive for WordPress blog. You can install from your add new Plugins page from your WordPress blog’s admin page. Also, you can get a copy if you are going to upload directly is available here: http://wordpress.org/extend/plugins/wp-google-drive/
Install it and activate the plugin.
Step 2: Setup Your Google Drive Account To Get API Access
Ok, once your plugin is installed you need to get the API access for your plugin. You can get access to this through your plugin settings. When the plugin activated, it will add a menu (Configure Google) in the left side menu. Hover on Configure Google menu and click on Configure Google submenu.
Now, click on the link (‘Google API Console‘) Configure Google Account settings page or go here ( https://code.google.com/apis/console/) to get you API.
- Once you are in Google API Console, agree for Google APIs Terms of Service and click on Accept to continue.
- Now, you will be in Google API Console Dashboard.
- From the left side menu, click on API Access and click on ‘Create an OAuth 2.0 client ID’.
- Now you will see create client ID wizard, fill the required and click on Next.
- In this step you have to add your authorization redirecting url, so click on the radio button Web application. Copy paste a url provided by the plugin in the Configure Google settings page. This is similar to below URL and click on Create Client ID button.
- Now copy the Client ID and Client secret from the new page.
- Paste newly obtained Google API Client ID and Client Secret in to the appropriate text box of your blog’s configure Google settings page and click on Allow Access button.
- Now, page redirects to Google Authentication page and asks your permission to allow access to the applied API, click on Allow Access. (This step also verifies the setups so far you have made is correct).
- Now the page redirect to your Wp-Admin page, with the message “Configuration to Google API Access has been done successfully“
Step 3: Customize Your WordPress Backup Settings:
- In the backup customization page, fill the required inputs and save.
- Now go to Manage Database menu and select the database table to exclude from backup (Not recommended) and click on Save.
- Now, go to Manage Files under the Manage Database menu and check if you want to exclude any files from backup.
That’s it, you are done. Make sure by visiting BackUp Settings page and view the next scheduled backup time.