Newest Posts
Home / Wordpress / Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

          We all know that backing up our site is a must. There are tons of plugins that do this job for you. But all of them store the backups on your server, most probably in the wordpress root or any other location on the server that you choose to store them. But, what to do, if there will be a server failure? It all deletes your site and all your backups. Now is the time that the remote file host’s service comes in to. If we store our backups on a remote server (Google drive as an example) your backup files will be available for forever. There is no risk of loosing our backups and data.

Now I’m going to present that, how to backup your WordPress into Google Drive.

          The first thing that you will have to do is that install this plugin in your wordpress site.  It is a simple and free plugin which can be found in the wordpress plugin library. After installing the plugin, activate it.

From Next step on I’ll provide you step by step procedure to setup the backup your wordpress site into Google Drive.

Configuration of the Backup process.

Go to Settings> UpDraftPlus and setup your preferred settings for your scheduled backups.

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

If your site is a regular updating one, (daily) it is advisable to set backups once a day. There is another option that you can set. It is to setup number of backups to be retained. It is up to you to decide that. I recommend that 2 or 3 is enough for you.

There is another option to setup your database backup interval. Probably, it is better to backup your database once a 12 hours period. It is up to you to decide that and the number of backups to be retained.

Now the Basic process of Backup your wordpress site into Google Drive is almost finished. Now is the time to setup Google drive to accept your backups. Before that you need to set Google drive as the backup store in the UpdraftPlus settings.

Connecting Google Drive as the backup store

This is the little difficult part of the process. I’ll provide you the detailed steps to complete the process with ease.

You need  to go to the Google API Console and start creating a new project. Browse this URL and create a new project.

Enter a Project Name and a Project ID for the popped up window like this.

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

The process of creating the project will be displayed in the bottom right corner of the screen. When it says that the project creating status is finished, you need to setup the API settings to the project.

Browse in to the project and find the Google Drive API and enable it. After the activation of the API, a message will be displayed that the task has been completed.

Next, you need to go to the API & Auth menu in order to Updraft to enable the use of Google drive. Click on Consent Tab. You need to fill up the form which contains the details of your App.

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

 

Here, actually you only need to fill your email address field which is compulsory. Other options are just optional. After filling the form click save.

Next you have to jump on to the Credentials under the API & Auth menu. You need to edit the popup window’s details in order to setup the backup your wordpress site into Google Drive.

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

You nee to enter the URL of your site in the first field. For the second filed, you need to enter the value which is provided by the updraft in your wordpress site when you choose the Google Drive as the Backup Store. You need to enter the value that is created by the plugin, under the Redirect URI.

After that, click create client ID

After you close the popup window, you will find your client ID and the Client secret.

Backup your WordPress site into Google Drive

Backup your WordPress site into Google Drive

Enter these to values in the Updraft Plugin’s settings which requests them. After that click save changes. Now the settings up of the Google API part is Over.

 

Now you need to grant permission to backup your files to Google Drive. Click on the Authenticate with Google link to authenticate the Updraft Plugin with Google API. You will be redirected to a page which will request your permission to Allow access to connect to Google Drive. Click on Accept  button.

You will be automatically redirected to your wordpress site and  a notification will be shown that the process is completed successfully. To check the process which we just finished now, setup a custom backup now and after the backup process completion, Jump into your Google Drive and find the UpdraftPlus folder and check weather the backups are present. If the backups are present, our project is a successful one.

We have come to the end of our tutorial on setup the backup your wordpress site into Google Drive. Hope you have enjoyed it. It is all for today. Will be back with an interesting post like this as soon as possible. Cheers!!!

Comments

comments

About TricksLK Author

Harindu Perera is still a student who is doinng his A/Ls. He is interested in the field of Web Developing and designing. Also he is interested in developing sites with wordpress. He also likes blogging. He is the CEO and the Founder of TricksLK.com. You can contact him via his social profiles.

Leave a Reply

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

*

Optimization WordPress Plugins & Solutions by W3 EDGE