How do I fix issues with Google Drive storage types?
Is Duplicator Pro failing to upload backups to Google Drive, or does the connection keep dropping unexpectedly? A few adjustments to your Google Drive storage settings resolve both problems.
This guide covers fixing common issues with Google Drive storage in Duplicator Pro, from upload failures to a connection that keeps invalidating.
Problem A: Upload Failures During Builds or Scheduled Backups
Option 1: Lower the Upload Chunk Size
This can be related to a temporary network condition. Navigate to Duplicator Pro » Settings » Storage, expand the Google Drive section, and lower Upload Chunk Size.
Option 2: Check for Shared Account Connection Limits
Running multiple Duplicator Pro instances on the same Google Drive account can exhaust Google’s connection limits. Google permits around 20 connections per app per account. Connect each site to a different Google account, or use separate Google Workspace accounts with different admin users.
Problem B: Google Drive Connection Invalidates Periodically
This happens when a security plugin such as Sucuri changes the secret keys in wp-config.php, which Duplicator Pro uses for encryption.
Option 1: Disable Automatic Secret Key Rotation
Go to Sucuri Security » Settings » Hardening and click Revert Hardening for Activate Automatic Secret Keys Updater.
Option 2: Disable Settings Encryption
Go to Duplicator Pro » Settings » General and uncheck Enable settings encryption. Reauthenticate with Google Drive afterward if Duplicator prompts for it.
Option 3: Reconnect Google Drive Storage
If Google Drive returns an invalid_grant or token error, remove and re-add the connection. Go to Duplicator Pro » Storage, delete the existing Google Drive entry, then click Add New to reconnect and reauthorize through Google.
That’s it! With the Upload Chunk Size adjusted and your Google Drive connection reauthorized, Duplicator Pro uploads backups to Google Drive reliably again.
Setting up Google Drive storage for the first time? Check out our tutorial on Storing Your Backup to Google Drive. For a full overview of every storage option Duplicator Pro supports, see A Complete Guide to Duplicator’s Storage Options.