FREE AND EASY WAY TO BACKUP WORDPRESS TO YOUR GOOGLE DRIVE
-
Original Blog Post: http://joelradon.com/free-and-easy-way-to-backup-wordpress-to-your-google-drive/
I have been in IT for over 12 years now, and I have learned many times how important it is to keep good backups. You may say I don't need backups because my hosting company does them for me. NEVER TRUST ANYONE TO KEEP BACKUPS FOR YOU. Why risk losing all your hard work and possibly alot of lost revenue for something that is so simple to setup.
Ok now that you understand the importance of backups let's talk about how you can backup your WordPress site for free to your Google Drive.
Install the Updraft Plus Plugin for WordPress
Since we are talking about backups, I am going to assume that you are technical enough to install a WordPress plugin. You can find it located here.
https://wordpress.org/plugins/updraftplus/
Setup a Google API Project
Go here and login with your Google Account
https://console.developers.google.com/Create a new project. We will call our project Wordpress Backup
Now we need to enable the Drive API. You can see that right on the home screen after creating a new project.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-02-49.png
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-03-48.png
Now that the Drive API is enabled go to Credentials
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-06-02.png
Fill out the credentials as follows:
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-07-43.png
Now before we fill out the next section we will need to go to our WordPress site and find the Authorized redirect URI
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-10-03.png
Once you have that you can paste it over here and continue creating your credentials.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-12-31.png
Make sure your email is correct and create a name. I just used UpdraftPlus
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-12-52.png
You will now see your Client ID and have an option to download your credentials. You do not need to do this so just select to do it later.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-13-44.png
Once you return to the Credentials Screen select the credentials you just create and it will show your Client ID and Client Secret.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-14-11.png
Next paste this into UpdraftPlus and hit save (For some reason I had to paste and save twice)
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-14-42.png
Now that you saved your new settings, you need to authorize your WordPress site to access your Google Drive.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-20-45.png
Authorize the site
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-20-07.png
Setting up Automatic Backups
http://joelradon.com/wp-content/uploads/2016/07/2016-07-27_17-24-30.png
With the free version we can't control the time of day we backup, but we can tell our site to backup on a schedule. I have my files set to backup weekly and my database set to backup daily. Most of the time you make changes to your site you are simply making database changes. You can set more a more frequent backup schedule if you like, but this seems to work for me.
Congratulations you are now setup for automatic backups to your Google Drive. Go ahead and start a manual backup now. Once the backup is complete you will see a folder on your Google Drive called UpdraftPlus. This contains your backups.
-
I set this up a year ago after @IRJ first mentioned Updraft. works great.
-
@JaredBusch said in FREE AND EASY WAY TO BACKUP WORDPRESS TO YOUR GOOGLE DRIVE:
I set this up a year ago after @IRJ first mentioned Updraft. works great.
It is definitely the best free WP backup I have found. I like the fact that it just zips the files so you aren't even dependent on Updraft Plus if you need to restore.