UpdraftPlus – Backup/Restore is undoubtedly the best online backup solution for WordPress blogs which comes with many handy features including support for cloud services like Google Drive, Amazon S3, DropBox and many others. In this tutorial, I will guide you through the procedure of integrating Google Drive free cloud storage with your WordPress blog using UpdraftPlus. I’m recommending Google Drive as it is reliable, flexible and free at the same time. Google Drive gives you a free cloud storage of 15GB which is more than enough for keeping any personal or small business blog backups. If you need more, you can upgrade the storage too. In addition, the service is being maintained by Google so quality can be imagined.
So to keep your backups at Google Drive, you need to follow below instructions. Read the instructions carefully to ensure that everything works fine.
Integrating WP with Google Drive Online Storage
1# Install UpdraftPlus Plugin
In first step, install UpdraftPlus – Backup/Restore plugin by either searching it in plugin directory from your blog’s admin dashboard or by downloading it from http://wordpress.org/plugins/updraftplus/. After installing the plugin, activate it and then navigate to its settings.
2# Configure Google Drive
Leave the plugin settings page open, open a new browser tab or window and go to your Google Drive account at https://drive.google.com. Log in using your Google ID credentials and create a new folder for keeping your backups. Name it as “My Blog Backups” or something else as you wish.
Once the folder is created, it will be displayed in interface. Now click on created folder name and open it.
After creating the folder, open it and copy its access URL from browser address bar.
Next, go to UpdraftPlus settings page in your WordPress blog and scroll down unless you find a headline “Copying Your Backup To Remote Storage”. Under this, select Google Drive.
After selecting Google Drive as remote storage, scroll down to the configuration area as shown in below screenshot. Now paste the folder URL (which you have copied earlier from Google drive page) in last field (Google Drive Folder ID field).
Now you need to obtain two more values from Google drive. First is Google Drive Client ID and the second is Google Drive Client Secret. To obtain and configure these, visit https://cloud.google.com/console#/project and create a new project. Name the project as “Blog Backups” or something else.
After creating the project, open it and go to Registered apps under APIs & auth section and register a new app
Write “Blog Backups” as new project name, select Web Applications as platform and register the app
Once the app is registered, expand OAuth 2.0 Client ID section, copy the details (Client ID and Client Secret) from there and paste in concerned fields at UpdraftPlus settings page on your blog
Next, you need to copy Web Origin and Redirect URLs for your app. You can obtain these URLs from UpdraftPlus settings on your blog. Copy https://supportivehands.net/wp-admin/options-general.php?page=updraftplus&action=updraftmethod-googledrive-auth as Redirect URL and http://yourblog.com or http://www.yourblog.com as Web Origin URL. Go back to the aap page you created earlier and paste these two URLs in Google drive application under OAuth 2.0 Client ID section and click Generate button. Replace green highlighted URLs with your blog URL. (The redirect URL may change in upcoming versions of UpdraftPlus. If my suggested URL doesn’t work, look for redirect URL in plugin settings page).
Now switch to plugin settings on your blog again and save its settings by clicking the Save Settings button at bottom of the settings page. After saving settings, the page will reload. Now follow the authentication link in UpdraftPlus settings page as shown below.
Once you will follow the authentication link, a new page will open at Google asking you to allow the access. Accept the authorization by clicking Accept button. After acceptation, you will be redirected to plugin settings page and then you can configure the backup schedule and more.
Now you have completed the authorization and have connected your Google Drive free cloud storage with UpdraftPlus, so the plugin will send backup data there. Your worries will end here as Google Drive will take a good care of your data and there is no fear of losing anything. Just configure the backup schedule from the same settings page of plugin and forget about your blog’s safety. UpdraftPlus will keep sending the backup at your defined schedule automatically and you can restore everything to last backup if something goes wrong.
If the tutorial didn’t make you understand about the configuration of UpdraftPlus with Google Drive, you can ask me in comments or can contact me via contact form. I will help you directly in solving issues if any.