How to Backup your WordPress Blog to Google Drive

Share This Article:

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).


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.


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


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


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


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


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


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


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


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


  • 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.


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.

Replace 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.

Genesis is the most flexible WordPress theme framework that comes with tons of options. We have been using Genesis on all of our blogs and recommending the same to you. Every bit of it is coded according to the standards. Give it a try!


  1. Plaban 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.

    • Yes, Google Drive offers more free space compared to Dropbox. Thanks plaban for dropping by !

  2. 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

  3. Great Tutorial Mate. Currently i am not using any service all data i saved on my computer but not now :)

    • 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 !

  4. Excellent job! You’re doing great with WP stuff. I think I don’t need to depend on Google SE anymore for WP help.

  5. 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.

    • Agree with you, we cannot depend on HDD and taking backup to any cloud service is the most preferable way.

  6. Great tutorial. This is something I’ve been meaning to do FOR EVER, and automating it to somewhere online makes me feel good.

    Thanks muchly!

    • Yeah, automating backups makes us feel good, we cant miss even a single day.

  7. Masoud says:

    Very useful ,
    Thank you

  8. 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…

  9. Toonwolf says:

    I’m getting an Error 404 – Not Found when I try to run a manual backup Is it because I’m running WP on port 8080?

  10. Annie says:

    I am getting an error after following all these instructions to the letter and do not know how to fix it? Can you help?

    Error: redirect_uri_mismatch

    The redirect URI in the request: did not match a registered redirect URI

    thank you

  11. Hello,
    I got the following error when tried to authorize the plugin. Any idea what went wrong? Thank you so much for your help!

    Error: redirect_uri_mismatch
    The redirect URI in the request: did not match a registered redirect URI

  12. Great Tutorial Mate. Currently i am not using any service all data i saved on my computer but not now

  13. 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.

  14. CADD Centre says:

    Thank you.
    Your work is really good.

  15. Have you tried using blogVault, . For just 9$/month , you get:
    Auto Restore, Site migration, Backup history, Test restore, Security

    We’re adding more features as we speak. It’s a really easy to use service, try us out for free.

  16. Greg says:


    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!

  17. 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 !!

  18. Olaf says:

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

    “Could not properly close archive ‘…/xyz/’.
    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.

  19. Alternative plugin for google drive backup that I used is . Unfortunatelly, it doesn’t compress your db backup file.

  20. I used it for my blog backup and having lots of issues and developer have a poor supports. It needs more improvements to work error free. Lets wait for the next update.

  21. 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\\wwwroot\portal\wp-content\plugins\wp-google-drive\class\zip-class.php on line 12

  22. 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.

  23. Stig 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 :-(

  24. Thanks, it was quite easy with images! Thanks again

  25. 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?

  26. Prabu says:

    Awesome tutorial.
    My site is backed up beautifully to Google Drive.

  27. in backup of our wordpress blog, our images will also save to google drive or not

  28. Hey Thanks For the post this trick is really awesome. This is one of the best backup trick i’ve ever learned. … :)

  29. Doris 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 !

Speak Your MindComments Policy →


Looking for More Awesomeness?