How to Backup your WordPress Blog to Google Drive

Exclusive tutorial on How to Backup your WordPress blog to Google Drive. It is always recommended to backup your WordPress blog, which includes files (themes, plugins etc) and SQL tables (all your blog posts, comments, drafts etc are stored as tables in database).

backup-wordpress-blog-google-drive

Whenever your blog is gone (due to unsecured activities or some other reasons), these backups will help to get back your blog. In some cases, using 3rd party plugins and themes can also lead to malfunction of your blog, here also these backups helps to retain back your blog.

Also Read : How to add nofollow to all External Links in your Blog

Tip : Backup your blog at-least once a week, make it as a habit. #Blogging

Now, coming to our topic, you can get the backup of your WordPress blog directly by using plugins like WP-DB-Backup, BackUpWordPress etc. But instead of using these normal plugins, you can store the backup data on Cloud Storage like Google Drive and Dropbox.

Reasons to Backup WordPress Blog to Google Drive

  • Its a Google Product and is free to use up-to 5GB.
  • Can get access to backups on any of the devices like Smartphones, Tablet PC’s, Laptops etc.
  • Backups will be uploaded in quite less time (sometimes based on internet connection also).
  • Highly Secure and reliable service, so there wont be any loss of data in the process.
  • Backups can be shared with your blog partners (if have any) with a single click of mouse.

How to Backup WordPress blog to Google Drive

Download and Install Backup plugin from official WordPress plugin repository.

Backup Plugin »

Here is the step-by-step guide that helps to backup your WordPress blog to Google Drive. Brief list of things you have to do in this tutorial:

  1. Login to Google API and create a Client ID in it.
  2. Authorizing the Plugin by using Client ID and Client Secret.
  3. Setting up the plugin frequency to take backups.

backup-wordpress-blog-google-drive-api

  • Go to “API Access” tab and click on “Create an OAuth 2.0 client ID”

backup-wordpress-blog-google-drive-api-access

  • In the pop-up window, give a product name and upload logo before clicking on “Next” button.

backup-wordpress-blog-google-drive-create-client-id

  • By default “Web Application” will be selected and don’t change it.

backup-wordpress-blog-google-drive-client-settings

  • In “Your site or hostname” section, click on “More Options” to expand link sections.

backup-wordpress-blog-google-drive-client-id

  • Now, paste the link in the “Backup Settings” page here. Enter domain name in “JavaScripts” origin field.

backup-wordpress-blog-google-drive-insert-url

  • Click on “Create Client ID” and you have successfully created a Client ID using Google API Console.

backup-wordpress-blog-google-drive-dashboard

  • Copy the Client ID and Client Secret from API dashboard and paste them in “Backup Settings” page.

backup-wordpress-blog-google-drive-settings

  • You have to authorize the plugin by clicking on “Allow Access” button.

backup-wordpress-blog-google-drive-permissions

  • Allow Access to the Plugin and the entire setup has been successfully installed.

Check Out : How to Display Random Posts in WordPress without a Plugin

How to automatically Backup WordPress blog to Google Drive

  • Now, you can configure this plugin further by entering the custom folder ID of your Google Drive.
  • Also define the maximum number of backups (use any positive integer in that field).
  • Set the frequency of backup and everything will be automatically stored in your Google Drive.

backup-wordpress-blog-google-drive-plugin

How to manually Backup WordPress blog to Google Drive

Instead of automatically backing up your files, you can also manually trigger the process by following this link.

http://www.wpsquare.com/backup/

Replace www.wpsquare.com with your blog link.

Voila, you have got a back up of  your WordPress blog on Google Drive. If you got any queries regarding this tutorial, please feel free to drop a comment, we are glad to help you. Meanwhile subscribe to our feeds by using the form below.

Comments

  1. says

    Great tutorial, I used to backup sites in Dropbox now I’ll switch to Google Drive. I hope it will be better alternative as Google Drive offers more space than Dropbox.

  2. says

    I have been using Dropbox for a while. I think it’s time to switch to Google Drive :) 5GB + Google Authority means a lot. Thank you for sharing this tutorial

    • says

      We strongly advice you to backup your blog on any Cloud Storage service. One should not depend on PC or laptop as there is no guarantee of data stored on them. Thanks for dropping by Amit !

  3. says

    Very detailed guide and very usefull, i realised the importance of taking backups after a server crash, instead of taking cpanel and db backups storing on your hdd, this is actually the best way to back up. google is very reliable.

  4. says

    Super useful stuff! We are setting up a new company blog and it would help to have it backed up at least once or twice a month. When we sign up for Google Drive this seems like the best option…

  5. says

    I have followed the instructions and done the steps. It does not work with my hosting. It only backup mysql in the server itself instead of keeping them in Google Drive.

  6. Greg says

    Hi!

    Thanks for the great tutorial, done with everything but upon testing it I get an error: “Received response code ‘400 Bad Request'”

    Any way to fix this?

    Thanks in advance!

  7. says

    Thank you Bro for you Info :) I have successfully added backup to my Drive. But, Can you help me out on how to restore that back up??
    At least, I should know how to restore that backup !!

  8. Olaf says

    Won’t work on my site up from this point:

    “Could not properly close archive ‘…/xyz/Studieren-in-Strenzfeld-mb02yr.zip’.
    Did not finish creating the backup archive. Try increasing the time limit.”

    Increasing time limit won’t fix it.
    Any clue what to do next?

    • WPSquare says

      Hi Olaf, there are many issues with this plugin and I’m going to update this article. There is a new plugin out for Google+ backup and I will write an article on how to use it. Thank you.

  9. Wolney Mamede says

    Hi, this is a grate solution for wordpress backup, but I have a problem (Houston), after install and configure plugin, this message insist when I try “On time Backup”:
    Fatal error: Class ‘ZipArchive’ not found in E:\domains\w4m.com.br\wwwroot\portal\wp-content\plugins\wp-google-drive\class\zip-class.php on line 12

  10. says

    Thank you very much for the tutorial. I used a bash script to backup my site on my 6.38 GB Dropbox via cronjob. Now I am going to include Google Drive as well for a secondary backup.

    Thank you very much.

  11. says

    A really good project, but unfortunately I can’t make it work. I just says “Please wait.. Process Loading…”
    I reinstalled several times and made new Client ID’s but nothing happens :-(

  12. says

    hi but aim getting “Authorization failed! Did not receive a refresh token.” message please help me.Also How to backup files to sugarsync and dropbox and skydrive?

  13. says

    This article needs to be updated, it shows Google apis in the screen shot, but when you click on the link given, it redirects to Google Developers Console. Then it says to click on the API Access tab, that is not there at all. Then you get an error that there is no app name. Try to fix that, then you get another error. Thumbs down for keeping this plugin updated !

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>