Articles on: WordPress

How to Use Updraft Plus Plugin to Generate Your WordPress Backup (Google Drive)

UpdraftPlus plugin simplifies backups and restoration. For your information, it is the world’s highest ranking and the most popular scheduled backup plugin, with over two million currently-active installs.

Backup your WordPress files and database backups into the cloud and restore with a single click!

Here's how we demonstrate the UpdraftPlus plugin in action:

Login to your WordPress dashboard and click on Plugins > Add New. Search for UpdraftPlus by typing into the search box. Next, click on Install Now button and follow by the Activate button.


To set up UpdraftPlus, select Settings > UpdraftPlus Backups from your WordPress menu. This will open the UpdraftPlus Backup/Restore page, where you can customize the UpdraftPlus settings to suit your backup needs. You can choose to configure Manual backup or Auto-backup.


For Manual backup, simply click on Backup Now button. You will notice the last log message being generated as seen from the screenshot below:


You may now download the manual backup to your local server or have UpdraftPlus automatically upload it to a remote storage location

Alternatively, you may configure auto-backup according to your own schedule by clicking on the Settings tab and choose how often to backup your database and files. In this example, I choose "Manual" backup for both Files and Database.



You can also choose how many previous backups to save. When you are happy with your backup schedule settings, remember to click on Save Changes at the bottom of the page.

If you are running on LiteSpeed server with the LsCache plugin enabled, you need to disable LsCache plugin first then only recommend to use the "Manual" settings for Google Drive. This is to avoid potential errors that you will encounter at the end of this tutorial. If you need automatic daily backup, remember to use other provider e.g. Dropbox etc.

It's time to specify where you want the backup file to be stored. In this example, instead of downloading to our own computer, we are going to use Google Drive to store our backup file remotely. Select the Settings tab again and scroll down the page to Choose your Remote Storage.



The integration settings for the solution you have chosen will then appear further down the page.



You shall see this popup once you have pressed the Save Changes button at the bottom of the page.



Click on the link in this popup. You will be asked to log into your Google Account. Then click Allow to enable UpdraftPlus to view and manage the files in your Google Drive.




This is the final step. Remember to click on the Complete Setup button.



If you encountered the error message as follows (only for LiteSpeed server), then you need to use this troubleshooting guide.

" Have not yet obtained an access token from Google - you need to authorise or re-authorise your connection to Google Drive "

Once the above solution is applied, you will no longer see the error message. However, if you see another error message as follow, you need to disable your LiteSpeed Cache plugin first before retrying:

Have not yet obtained an access token from Google – you need to authorise or re-authorise your connection to Google Drive. (Invalid request (refresh token not present).) (no_refresh_token)


It's not necessary to choose Google Drive. You may choose other storage provider to store your backup file e.g. Dropbox or Amazon S3. From our own test, it's wise to use Google Drive only when you're doing the backup manually.

Updated on: 12/02/2019

Was this article helpful?

Share your feedback

Cancel

Thank you!