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 Cloud


Storing your WordPress backups on Google Cloud keeps a copy off-site, away from your web server, so a compromised or crashed site doesn’t take your backups down with it. Duplicator Pro connects directly to a Google Cloud Storage bucket, so every backup you create gets pushed there automatically.

This guide walks you through creating a Google Cloud bucket, generating the access keys Duplicator Pro needs, and connecting that bucket to Duplicator Pro as a storage destination.

Create a Google Cloud Bucket

You’ll need to enable billing on your Google Cloud account or use the free tier. Once you log into your Google Cloud console, open the navigation menu and find Cloud Storage:

Next, select Buckets » Create:

Create Google Cloud bucket

Name the new bucket. Make sure to only use lowercase letters, numbers, hyphens, underscores, or dots:

New Google Cloud bucket

Next, choose the appropriate region where you want to store your data:

Google Cloud bucket region

Set a storage class, which determines the cost to store and retrieve data from the bucket. There are four options: Standard, Nearline, Coldline, and Archive. Choose one based on how often you plan to access your backups:

Google Cloud storage class

Next, set the access control for the bucket. Uniform access control relies only on bucket-level permissions, while Fine-grained access control allows object-level permissions too:

Google Cloud access control

Under Protection tools, choose None or Object versioning:

Google Cloud bucket protection

After this, hit Create

Create Google Cloud Access Keys

To connect Google Cloud and Duplicator, you’ll need to generate access keys for the new bucket. First, go to Cloud Storage » Settings:

Google Cloud settings

Click on the Interoperability tab. Here, hit Create a key for a service account:

Google Cloud interoperability

In the pop-up, create a new service account:

Create Google Cloud service account

Enter an account ID and description:

Google Cloud service account ID

For the Role, select Owner:

Service account owner

Once you finish creating a service account, you’ll automatically get new access keys:

Google Cloud access keys

Copy both of these to use in the next step. 

Connect Google Cloud to Duplicator

Your Google Cloud account is now fully set up! Go back to your WordPress dashboard and head over to Duplicator Pro » Storage » Add New:

Add new storage location

Then, name the new storage and select Google Cloud Storage as the Type:

Google Cloud storage location

Scroll down to the Authorization section. Paste your access and secret keys:

Duplicator Google Cloud authorization

For the endpoint, use this URL: https://storage.googleapis.com. Remember to add your Bucket name and Region.

At the bottom of the page, you can adjust the Max Backups. This is the maximum number of backups allowed in your Google Cloud account at one time:

Google Cloud storage settings

Disable full control ACL if you chose Uniform access control when you created the bucket.

This setting is the Give bucket owner full control (ACL) to all files uploaded by Duplicator Pro checkbox. It only takes effect if the bucket’s access control is set to Fine-grained, since Uniform buckets do not support object-level ACLs at all. If you chose Uniform access control earlier, leave this checkbox as-is, it has no effect either way.

After saving the storage, click Test Storage to confirm the integration is working. Duplicator Pro creates and deletes a small test file on Google Cloud to verify that files can transfer successfully.

Google Cloud Storage includes a soft delete feature that protects against accidental or malicious deletion. It is enabled by default on new buckets, preserving recently deleted objects for 7 days before they are permanently removed. The retention window is adjustable from 7 to 90 days, or can be set to 0 to disable soft delete entirely, from the bucket’s settings in the Google Cloud console. For details, see Google Cloud’s soft delete documentation.

If you run into connection errors or failed uploads with Google Cloud Storage, see Troubleshooting Amazon S3 or S3 Compatible Storage Issues, since Google Cloud uses the same S3-compatible integration.

Following the steps in this guide connects Duplicator Pro to Google Cloud Storage, so future backups are automatically transferred to your bucket whenever a backup or schedule using this storage endpoint runs.

Looking for a different storage option? See A Complete Guide to Duplicator’s Storage Options.


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 →