Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Want it done for you?

Let the Duplicator experts migrate your WordPress site for you — quick, safe, and hassle-free.

Get Migration Help

Storing Your Backup to Google Drive


Would you like to keep a copy of your WordPress backups somewhere safe, away from your server? With Duplicator Pro, our backup and migration plugin, every backup can go straight to Google Drive, so you’ll always have one ready to restore after a crash, a hack, or a hosting problem. In this tutorial, we’ll show you how to store your backup on Google Drive, from connecting your account to restoring your site.

Requirements: In order to use Google Drive storage, you’ll need a Basic license level or higher. On WordPress Multisite, you’ll need a Pro license level or higher.

Connecting Your Google Drive Account

1. To get started, open Duplicator Pro » Storage in your WordPress dashboard. You’ll see the Default local storage already listed. It saves your backups on your server, in /wp-content/duplicator-backups.

2. Next, click Add New to create a new storage location:

Storage page showing two storage connections: Default Local and Duplicator Cloud, with an Add New button at top.

3. Then, enter a Name for the new storage. Next to Type, click Select and choose Google Drive. Keep in mind that Google Drive storage only connects to your account’s own My Drive, not to a Shared Drive or a folder someone else shared with you:

Storage type: Local selected; grid shows Google Drive, Dropbox, OneDrive, Amazon S3, S3 Compatible, and more.

4. After that, click Connect to Google Drive:

Button to connect this app to Google Drive for storage access (Google Drive icon)

5. The Authorization section now shows 3 steps. For Step 1, click Authorize Google Drive. Google opens in a new tab. If it doesn’t, allow popups for your site from your browser’s address bar:

Screen showing Google Drive authorization flow: click'Authorize Google Drive' then paste code and click 'Finalize Setup' to complete backup setup.

6. In the new tab, sign in to Google and choose your account. Then, click Continue to confirm the sign-in. Google lists the access Duplicator needs: it can only see and manage the Google Drive files it creates. To grant it, click Allow:

Dialog asking to grant Duplicator access to your Google account; shows Cancel and Allow options on the right.

7. Next, Duplicator shows a unique token for your Google account. To copy it, click Copy:

Duplicator OAuth screen with Google account connection, a token box and a bright orange Copy button in the center.

8. Now, go back to your WordPress dashboard. For Step 2, paste the token into the input field:

Step 3 of Google Drive authorization: a checked checkbox and a blue'Finalize Setup' button.

Note: If Google blocks the authorization, your Google Workspace administrator may have policies that stop third-party apps like Duplicator Pro from connecting, so check with them. Once connected, Duplicator Pro renews the connection automatically. If Google revokes access (for example, after a password change), backups to this storage fail until you edit the storage and repeat the authorization steps.

9. For Step 3, click Finalize Setup. Duplicator Pro saves the storage and shows your connected Google Drive account:

Authorization screen for Google Drive access with Cancel Authorization button and user details (name, email, quota) shown.

10. Before you create a backup, it’s a good idea to test the connection. To do this, scroll to the bottom of the page and click Test Storage. Duplicator creates and deletes a small file on Google Drive to make sure the storage works:

Settings: limit backups to 10 and test storage validation with the Test Storage button.

11. Finally, check the Max Backups setting. It sets how many backups Duplicator Pro keeps in your Google Drive storage folder. When there are more, Duplicator deletes the oldest one. To keep every backup, set it to 0. If you change it after connecting, click Save Provider.

A free Google Drive account has 15GB of storage, so we recommend keeping the Max Backups value low. That way, Duplicator deletes old backups and keeps your storage space under control.

Note: Google allows up to 100 connected sites per Google account, and each site you connect to Google Drive uses one. When you connect one more site past that limit, Google ends the oldest connection without warning, and that site stops uploading backups. For details, see Google’s documentation on refresh token limits.

If the connection fails or stops working later, check out our guide to fixing Google Drive storage issues.

Creating and Storing a Backup on Google Drive

Now that Google Drive is set up as a cloud storage location, it’s time to store your first backup there. To do this, go to Duplicator Pro » Backups and click Add New:

Backups dashboard with an orange Add New button, a dark right-hand menu, and a table listing one backup named 20261028_duplicate... with Download and Restore actions. The screen also shows a notification about incremental backups at the top left.

Duplicator names the backup with the Backup Name Format, which uses dynamic tags like the date and your site title. To make the backup easier to find later, add your own text or pick different tags from Dynamic Tags:

General settings panel showing Backup Name Format with Dynamic Tags and a Storage section below it in a backup app UI.

Next, in the Storage section, check your Google Drive storage:

Backup storage selection screen with Default and Google Drive checked; Duplicator Cloud not selected; Google Drive location shown (blurred).

In most cases, a full backup of your site’s files and database is the right choice, since it saves your complete setup.

To create a full backup, keep the Full Site preset under Backup Filters, leave the Installer settings as they are, and click Next.

To save only part of your site, choose a different preset under Backup Filters. For example, click Database Only to create a database backup that saves only data like customer information, posts, and pages:

Backup Filters dialog with'Database Only' preset selected and UI for components and database options.

After you configure the backup, Duplicator scans your website. Review the scan results for any issues, then click Create Backup to continue:

UI screen of a backup tool showing Setup sections and a highlighted Create Backup button at bottom right

When Duplicator finishes building the backup on your server, it uploads it to your Google Drive storage folder.

Setting Up Automatic Backups

Regular backups keep your website safe. If you only do manual backups, it’s easy to go too long without saving your data. A backup schedule solves this: Duplicator Pro creates backups for you at set times and sends each one to Google Drive.

To create a schedule, go to Duplicator Pro » Schedule Backups and click Add New. Under Storage, select your Google Drive storage, so every backup the schedule creates goes to Google Drive:

Storage options list showing Default, Duplicator Cloud, and Google Drive; Google Drive is selected (checkbox checked) and highlighted with a red border. Columns labeled Name, Type, Location are visible.

Then, choose how often the backup runs and click Save Schedule. For every schedule setting, from backup templates to start times, check out our guide to scheduling automatic backups.

Restoring Your Website Using Backups Stored on Google Drive

Duplicator Pro gives you 2 ways to restore a backup stored on Google Drive: from the Backups page, or by importing the backup file. Either one rolls your website back to an earlier version or recovers it after a crash.

Use the Download Option to Restore Your Website

Go to Duplicator Pro » Backups and click the Download button for the backup you need. If the backup isn’t in local storage, the Download From Remote Storage window opens. There, select your Google Drive storage and click Download:

Screenshot of Duplicator Pro backups page showing two backups with Download and Restore options and a right-side Duplicator Pro menu panel on a white/gray interface.

After the download finishes, click Restore. To go through the restore installer step by step, check out our guide to restoring a backup.

Use a Backup Stored on Google Drive to Restore Your Website

If you make a coding mistake or run into an unexpected WordPress error, you’ll need to restore a backup. To do it with a backup file from Google Drive, open the folder that matches the Storage Folder you set when you connected Google Drive. Find the archive (the file with the ZIP icon), click its 3-dot menu and select Download:

In Google Drive, a file named 20261110_duplicate... is selected with a blue highlight and a context menu open showing Download highlighted.

Then, open your WordPress dashboard, go to Duplicator Pro » Import Backups and upload the archive. To finish the restore, follow our guide to importing a backup.

Disconnecting Google Drive Storage

If you no longer need this Google Drive storage, or you want to connect a different Google account, disconnect it from the storage settings. Before you do, keep in mind how Google handles the connection:

Warning: Disconnecting Google Drive on one site also disconnects every other site that uses the same Google account. When you disconnect, Duplicator Pro cancels its access at Google, and Google ends that access for every site on the account, as explained in Google’s documentation on token revocation. Those sites stop uploading backups until you connect them again.

Using one Google account on several sites? To keep a disconnect on one site from affecting the others, connect each site, or each group of sites, to its own Google account, or use an S3-compatible storage.

1. Go to Duplicator Pro » Storage, hover over your Google Drive storage and click Edit.

2. In the Authorization section, click Cancel Authorization.

Duplicator Pro disconnects the storage and reloads the page. The Connect to Google Drive button appears again, so you can connect the same or a different Google account by following the steps in Connecting Your Google Drive Account.

That’s it! You can now store your backups on Google Drive, by hand or on a schedule, and restore your site from them whenever you need to.

Would you like to compare other cloud storage options? Check out our Backup to the Cloud guide.


Was this article helpful?


Related Articles

Don't Let Another Day Pass Unprotected

Every hour without proper WordPress backups puts your site at risk • Every delayed WordPress migration costs you performance and growth

Get Duplicator Now
Duplicator Plugin

Wait! Don't miss your
exclusive deal!

As a customer, you get 60% OFF

Try Duplicator free on your site — see why 1.5M+ WordPress pros trust us. But don't wait — this exclusive 60% discount is only available for a limited time.

or
Get 60% Off Duplicator Pro Now →