Back to list
3/7/2026Vuong Van Du Share

How to Set Up Automatic Backups to S3-Compatible Storage and Google Drive

Learn how to set up automatic backups to S3-compatible storage and Google Drive. Step-by-step instructions for secure data protection.

How to Set Up Automatic Backups to S3-Compatible Storage and Google Drive

Automate Your Backups: A Step-by-Step Guide to S3-Compatible Storage and Google Drive

Protect your data effortlessly by setting up automatic backups to cloud storage. This guide covers two popular methods: S3-compatible storage (like AWS S3, Cloudflare R2, MinIO, and Wasabi) and Google Drive. Follow these steps to ensure your backups run smoothly and securely.

Setting Up S3-Compatible Storage Backups

  1. Access the Profile Section: Navigate to your profile and open the S3 Storage Backup section.
  2. Enter Credentials: Provide the Endpoint URL, Bucket Name, Region, Access Key, and Secret Key.
  3. Test Connection: Click Test Connection to verify the settings.
  4. Enable Automatic Backup: Toggle on Automatic Backup to schedule daily backups at 0:00 AM.
  5. Set Retention Policy: Adjust the number of backup versions to retain.
  6. Save Settings: Click Save All Settings to finalize.

Configuring Google Drive Backups

Use a Google Service Account to upload backups to Google Drive. Here's how:

  1. Create a Project: Go to [Google Cloud Console](https://console.cloud.google.com), select New Project, and name it (e.g., websaas-backup).
  2. Enable Google Drive API: In APIs & Services > Library, search for and enable the Google Drive API.
  3. Create a Service Account: In Credentials, click + Create Credentials > Service Account. Name it (e.g., backup-uploader) and assign the Editor role.
  4. Generate JSON Key: In the Service Account's Keys tab, create a new key with JSON format and download it.
  5. Share the Folder: Create a folder in Google Drive (e.g., Website Backups), share it with the Service Account's email (found in the JSON file), and grant Editor permissions.
  6. Obtain Folder ID: Extract the Folder ID from the URL: https://drive.google.com/drive/folders/1a2B3c4D5e6F7g8H9i0JkLmNoPqRsTuV.
  7. Configure in WebSaaS: In your profile, open Google Drive Backup, paste the JSON key and Folder ID, test the connection, enable automatic backups, set retention, and save.

Note: You can configure both S3 and Google Drive simultaneously for redundant backups.

CW
Article Author
Vuong Van Du

Leading expert in providing WordPress Cloud infrastructure solutions.