Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Blog

Everything you need to know about the Duplicator plugin.

How to Back Up a WordPress Site to Google Drive (Easily) 

Do want to send your WordPress backup to Google Drive?

Saving your site backups to a cloud storage service like Google Drive can keep your data secure from server errors or hacks. When you use off-site storage, you’ll always be able to access your website.

In this tutorial, we’ll show you how to back up a WordPress site to Google Drive! 

Why You Should Back Up Your WordPress Site to Google Drive

One of the best ways to keep your WordPress website secure is by backing it up. When you create regular backups, you’ll have saved copies of your site. 

Usually, a WordPress backup includes your site’s files and database. You’ll be able to save everything that makes your website function correctly. Plus, it’ll have your unique theme, plugins, and other custom data.

It’s important to have a backup in case something unexpected happens to your site. You might be the victim of a hack or server crash. Thankfully, you can easily restore an error-free backup.

Your web hosting provider will likely provide a way to back up your website. However, it can be useful to have a third-party backup service. 

In case you can’t access your WordPress dashboard, you can find a saved backup in a cloud storage location such as Google Drive. Since your backups will be saved off-site, it also won’t use any resources on your hosting plan. 

Google Drive can be a good option if you run a smaller site like a blog. With a free account, you’ll be able to use 15GB of storage space for your backups. You can also upgrade to 100GB for just $1.99 per month. 

How to Back Up a WordPress Site to Google Drive (Easily)

Once you decide to start backing up your website to Google Drive, you might not know how to do it. Fortunately, we’ll walk you through every step along the way!

Step 1: Install Duplicator

By default, WordPress doesn’t have a backup solution for your website. Fortunately, you can install a backup plugin like Duplicator. With Duplicator, you can bundle your entire website, including its WordPress themes, plugins, content, database, and files:

Duplicator plugin

Additionally, Duplicator makes it easy to migrate your website to a new hosting provider or domain name. Once you create a backup, this can be transferred to any location that hosts WordPress.

To get started, choose a subscription for Duplicator Pro. Although it is available as a free plugin, you’ll need to upgrade to access remote storage options.

After purchasing the plugin, download it and save your custom license key. Then, install and activate Duplicator in your WordPress dashboard. If you need a step-by-step guide on this process, check out this tutorial on installing plugins.

Now you’ll need to activate your license key. Navigate to the Duplicator Settings page and click on the Licensing tab:

Duplicator license key

Paste your license key and hit Activate

Tip: Once you update to Duplicator 4.5.10, you can make your license key invisible! If you run a website with many users, this can help you keep your plugin information private. Under your license, select License Invisible and protect it with a password that only you know.

Step 2: Connect Your Google Drive Account

Duplicator supports cloud storage services like Google Drive, Dropbox, Amazon S3, and OneDrive. To back up your website to one of these locations, you’ll need to connect your third-party accounts.

Using another plugin, you might need to create a new project in the Google API console. In contrast, Duplicator allows you to connect to Google Drive directly in WordPress. 

First, go to Duplicator Pro » Storage. On this page, you’ll see that the default storage location is your local server. This will save your website backups to this URL path: wp-content/backup-dup-pro/recovery.

To start using Google Drive, hit Add New:

Add new storage location

Then, name the new storage location. Using the Type dropdown menu, select Google Drive:

Google Drive storage

After this, you’ll see an option to Connect to Google Drive:

Connect WordPress to Google Drive

By clicking this button, new steps will appear to walk you through the setup process. First, hit Authorize Google Drive:

Authorize Google Drive

This will open a new tab, where you’ll need to sign into your Google account using your Gmail address. You should also authorize the connection between Google and Duplicator. Once you do, you’ll get a unique code:

Google Drive authorization code

Copy this code and go back to your WordPress dashboard. Then, paste the code into the Step 2 text box:

Paste Google authorization code

Lastly, click on Finalize Setup. If the connection is successful, you’ll see details about your Google account and quota usage:

Connected Google Drive account

Before you create a backup, you can authenticate this connection. Go to the bottom of this page and hit Test Google Drive Connection. This will send a small file to and from your account:

Test Google Drive connection

You can also consider adjusting the Max Packages setting. This will be the number of backups that are allowed in your Google Drive account at one time. 

Step 3: Create a Google Drive Backup

Now that you’ve added your Google Drive account as a cloud storage location, it’s time to create your first cloud backup. You can do this by finding Duplicator Pro » Packages » Create New:

Create Duplicator package

Duplicator will automatically generate a name for your backup package. However, you can also rename it so it’s more memorable for you. This will make it easy to find if you need to restore it later:

Name backup package

Next, expand the Storage settings. Here, you’ll see that Google Drive is now listed as a backup option. Be sure to select it:

Select Google Drive storage

Usually, you’ll want to do a full backup of your WordPress site’s files and database. This will save the complete setup of your site. 

To create a full backup, don’t make any changes to the archive or installer files before hitting Next. However, you can easily edit the archive file to only include certain data in the backup. For example, feel free to do a database backup.

After you configure your backup, Duplicator will scan your website. You can look over this evaluation for any issues. To continue, click on Build:

Duplicator package scan

When Duplicator finishes building your package, it will be transferred to your Google Drive folder. 

Step 4: Set Up Automatic Backups

As a website owner, you’ll know how important it is to regularly back up your website. If you always do a manual backup, you may not save your data as often as you should. To make this process easier, you can set up automatic backups.  

If you create an automatic backup schedule, your website will be backed up at a certain time. This ensures that you always have a copy of your site on hand in case of an emergency.

To set up automatic backups in Duplicator, go to Duplicator Pro » Schedules. Then, click on Add New:

Create website backup schedule

You can name your schedule at the top of the page. If you want to make customizations to the default package settings, consider creating a package template. Alternatively, Duplicator will simply perform a full backup:

Name backup schedule

Under Storage, select Google Drive. This will send every automatic backup to the cloud:

Backup schedule cloud storage

Then, choose a schedule for your automatic backups. Duplicator supports monthly, weekly, daily, and hourly backups. For each of these options, you’ll be able to customize when you’d like the backup to start:

Backup schedule

You can also select a Start Time for the schedule. Lastly, select the checkbox next to Enable This Schedule:

Enable cloud backup schedule

After you save this schedule, your website will be automatically backed up to Google Drive!

How to Restore Your Google Drive Backup

If you accidentally make a coding error and break your theme, you’ll need to restore a backup. To do this, open your Google Drive account and find the folder with your Duplicator backups:

Google Drive Duplicator backups

Here, you’ll see your recent backup files. Select your archive file and hit Download:

Download Google Drive archive file

Then, open your WordPress dashboard and go to Duplicator Pro » Import. Instead of manually uploading the file to a File Manager or File Transfer Protocol (FTP) client, you’ll be able to directly import your backup:

Import website archive

Drag and drop your archive file into the upload box. After it uploads, you’ll see information about the backup. If everything looks correct, continue to the next page:

Uploaded cloud backup

Now you’ll see an overview of your current site. To rewrite it with the uploaded archive, click on Launch Installer:

Launch site installer

Then, the Duplicator recovery wizard will walk you through the process of restoring a backup. First, be sure to select Restore single site as the Install Type:

Restore cloud backup

Next, hit Validate. Duplicator will provide warnings if there is anything wrong with the installation. To continue, accept the terms and notices and click on Next:

Cloud backup validation

As a final step, confirm that you want to proceed with the backup restoration:

Confirm cloud backup installation

Duplicator will automatically replace your current site with the saved backup. Once finished, you’ll see an Admin Login button:

Cloud backup restore

Now you can sign back into your restored website!

Frequently Asked Questions (FAQs)

Cloud backups are easy with the right tools, but you may still have some pressing questions. To ease your concerns, let’s answer them!

How often should I back up my WordPress site?

You should back up your WordPress site at least once a week. However, this frequency will depend on how often you’re making significant changes to your website. If you’re uploading new content daily, it might be best to schedule daily backups. Alternatively, static sites may only need monthly backups. 

How do I back up all my WordPress data?

You can back up all your WordPress data by installing Duplicator Pro. Then, create a new package without making any changes to the archive or installer files. After downloading your package, you’ll have a saved copy of your WordPress files and database.  

What is the best WordPress backup plugin?

The best WordPress backup plugin is Duplicator. This tool can help you create backups of your website and send them to cloud storage locations like Google Drive, Amazon S3, Dropbox, and OneDrive. 

Alternatives: UpdraftPlus and BackWPup are also popular plugins for creating backups. However, Duplicator can be more effective for backing up large sites or WordPress Multisite networks. 

Conclusion

By following this guide, you’ll successfully save your WordPress backup to Google Drive!

Do you need to restore one of your cloud backups? Check out our guide on restoring WordPress from a backup.

Cloud backups are within your reach. Download Duplicator Pro to easily save your WordPress data to Google Drive!