[New] Introducing Duplicator’s Sleek Redesign: New Look, Same Great Features
[New] Introducing Duplicator’s Sleek Redesign: New Look, Same Great Features
Do you want to create a Google Cloud backup for your WordPress site?
With Google Cloud, you can protect your WordPress site from potential errors, hacks, or server failures by securely storing backups off-site. Its scalability and high-quality security make it an excellent cloud storage service for WordPress backups.
In this tutorial, I’ll show you how to back up your WordPress site to Google Cloud!
Google Cloud, or the Google Cloud Platform (GCP), is a suite of cloud computing services and products offered by Google. It provides a wide range services that help businesses and developers to build, deploy, and scale applications.
Google Cloud is one of the leading cloud providers globally, behind Amazon Web Services (AWS) and Microsoft Azure. In fact, it takes up 11% of the cloud market share.
The GCP is a diverse platform that allows you to:
As a WordPress website owner, Google Cloud storage can be the perfect place to secure backups. Backing up your site to the cloud gives you a disaster recovery plan.
Cloud backups can protect your data from WordPress errors, hacks, or server crashes. When your backup is off-site, it won’t be corrupted by any issues on your site.
You might already be familiar with basic cloud storage like Dropbox or Google Drive. Unlike these options, Google Cloud is an object storage service. This means it can handle any amount of unstructured data.
Here are some benefits of using Google Cloud as a backup solution:
If you want to try out Google Cloud, there is a free tier. This supports up to 5GB of regional storage every month.
For more storage, you’ll pay as little as $.0012 per GB per month. Unlike options like Wasabi or Backblaze B2, there are extra network egress and retrieval fees.
Now, let’s show you how to back up your WordPress site to Google Cloud!
Although you could manually back up your website and upload these files to Google Cloud, there’s a better way. To avoid wasting time and effort, consider using a WordPress backup plugin that’s compatible with Google Cloud.
Duplicator Pro is the best WordPress backup plugin available. It supports 14 different backup locations, so you can make sure your backup is in a safe location.
With Duplicator, you’ll easily connect your website to Google Cloud. By automatically sending backups to the cloud, you’ll make your WordPress workload just a little easier.
Here are all of the cloud services you can use with Duplicator:
To get started, sign up for a Duplicator Pro subscription. There is a free version, but you’ll need to upgrade to access its many cloud storage integrations.
Be sure to copy your license key after checking out. Then, download Duplicator Pro and install it in WordPress.
As a final step, navigate to Duplicator Pro » Settings » General.
Paste your license key and hit Activate.
At this point, you’ll need to create a Google Cloud account. Go to the company website and click on Get started for free. Alternatively, you can contact sales for a quote.
Once you log into your Google Cloud console, open the navigation menu and find Cloud Storage.
Then, select Buckets » Create.
Name the new bucket. Make sure to only use lowercase letters, numbers, hyphens, underscores, or dots.
Next, choose a region where you want to store your data.
You can then set a storage class, which will determine the cost to store and retrieve data from the bucket. You’ll have four options: Standard, Nearline, Coldline, and Archive. Choose one based on how often you plan to access your backups.
For the next step, customize your access control settings. Uniform access control will only rely on bucket-level permissions, while Fine-grained will allow you to set object-level permissions.
Under Protection tools, choose None or Object versioning.
After this, hit Create.
To connect Google Cloud and Duplicator, you’ll need to generate access keys for the new bucket. First, go to Cloud Storage » Settings.
Click on the Interoperability tab. Here, hit Create a key for a service account.
In the pop-up, create a new service account:
Enter an account ID and description.
For the Role, select Owner.
Once you finish creating a service account, you’ll automatically get new access keys.
Copy both of these to use in the next step.
Your Google Cloud account is now fully set up! Go back to your WordPress dashboard and head over to Duplicator Pro » Storage » Add New.
Then, name the new storage location and select Google Cloud Storage as the Type.
Scroll down to the Authorization section. Paste your access and secret keys.
For the endpoint, use this URL: https://storage.googleapis.com
You should also 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.
You should also disable full control ACL if you chose uniform access control when you set up the bucket.
Save the new storage location. To see if the integration is working, click on Test Storage. Duplicator will create and delete a small file on Google Cloud to test if it can do larger backups.
It’s time to back up your website to the cloud!
To do this, go to Duplicator Pro » Backups » Add New.
Name the backup using dynamic tags. These will automatically update when the backup is created.
Then, choose Google Cloud as the storage location.
If you want to back up your entire website, select the Full Site backup preset. However, you can easily remove any unnecessary data like the media library or inactive plugins to clean up your backups.
Once you click Next, Duplicator will run a scan of your site.
Review any flagged notices. If you’re ready to back up your site to Google Cloud, hit Create Backup.
Duplicator will automatically create a copy of your website and send it over to your Google Cloud bucket.
Automatic backups make it easy to secure your site on a schedule. You can sit back and relax, knowing that Duplicator routinely sends your backup data to the cloud.
To set up your first backup schedule, go to Duplicator Pro » Schedule Backups » Add New.
Give the new schedule a descriptive name. If you want to fully back up your site, choose the Default template. However, you can create a new template for custom backups.
Then, be sure to select Google Cloud from the list of connected cloud storage locations.
With Duplicator, you can select one of these schedules:
Once you choose one of these options, you’ll be able to set the exact time/date to run the backup. For example, you can choose the day of the week for a weekly backup.
Lastly, set the Start Time. Since backup schedules require some web traffic, consider when your audience will be visiting your site.
When you’re finished, enable the schedule and save it.
You’ll need to be prepared to restore a backup if your site experiences a critical error, cyber threats, or server downtime. This way, you’ll instantly restore its functionality and avoid data loss.
When this happens, open Duplicator’s Backups page. Find a recent full-site backup and hit the Restore button.
Since the backup is in Google Cloud, you’ll need to download it.
Duplicator will download your data from the cloud. Then, it’ll automatically open the recovery wizard. Here, click on Restore Backup.
If you’re locked out of your dashboard, you might think your website is lost forever. Fortunately, you can restore your backup with an FTP client or cPanel.
With one of these file manager tools, upload both the installer and archive to your site’s root directory.
Then, you can visit https://your-domain/installer.php in a new browser window to launch the Duplicator installer. Make sure to replace “installer.php” with the name of your custom installer file.
You can do a Google Cloud backup by installing Duplicator Pro on your WordPress site. Then, add Google Cloud as a storage location. Create a new backup and choose Google Cloud out of the many cloud storage options. Duplicator will automatically back up your site and send it to Google Cloud.
To retrieve your backup from Google Cloud, open the correct bucket and find the folder that stores your backups. You’ll see two backup files: the archive and the installer. Download both of these. If you need to restore your site, you can re-upload these to your site’s root directory and launch the Duplicator installer.
If you need a basic cloud storage service to store WordPress backup files, Google Drive is typically more user-friendly and cost-effective. It’s a good option, especially if you’re already using Google Workspace. Google Cloud, on the other hand, is an object storage service suited for advanced users who require more scalability.
Google Cloud has a free tier that includes 5GB of monthly storage. It will also give you a $300 free credit when you sign up. If you need more space for your backups, premium pricing starts at $.0012 per GB per month.
That’s it! You’ve just created your first Google Cloud backup.
While you’re here, I think you’ll like these extra WordPress guides:
Do you want to automatically back up your WordPress site to the cloud? Download Duplicator Pro to access 14 different storage options!
Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.