How to backup G Suite data to Google Cloud Storage?


CubeBackup does not limit you to only using AWS S3 storage, it also supports backing up your G Suite data to S3 compatible services like Google Cloud Storage or Wasabi.

In order to backup G Suite data to Google Cloud Storage, you need to create a Google Cloud Storage bucket and select “Amazon S3 compatible storage” as the storage type during the initial configuration of CubeBackup.

Tip: If you’d like to backup your G Suite data to Google Cloud Storage, a Google Compute Engine VM is strongly recommended for running CubeBackup service.

Before you begin

Create a Google Cloud Storage bucket

  1. Log in to Google Cloud Console.

  2. Create a new project or use a project you have already created.
    To Create a project:

    • Go to the Projects page in the Google Cloud Console.
    • Click CREATE PROJECT.
    • In the New Project page, enter “CubeBackup” (or whatever name you like) as the project name and click CREATE.
  3. Create a Google Cloud Storage bucket.
    On the main menu, select STORAGE->Storage->Browser, then in the Storage Browser page, click Create bucket, and follow GCP’s guide to create a bucket.

    • Pick a globally unique name for your bucket.
    • Choose a location type for the bucket. Multi-region is recommended.
    • Choose the storage class. Nearline is recommended.
    • In the Access control step, select Uniform(bucket-level permissions).
    • In Advanced settings, keep everything as default.
    • Click CREATE.
  4. Create the Access key and Secret
    Select Settings from the Storage menu, select the tab Interoperability, then click Create a key for service account. In the dialog pop-up, click CREATE KEY.
    Tip: Please keep the New service account HMAC key dialog open. You will need to copy the Access key and its secret to CubeBackup configuration page in the next step. access-key

Setup CubeBackup with a Google Cloud Storage

After creating the cloud bucket and the Access key, go back to CubeBackup setup wizard:

  • Select “Amazon S3 compatible storage” for the Storage type.
  • Select a local directory for data index path. Data index acts as cache for backup data, and a local SSD is strongly recommended for storing data index. For more information about the data index, please visit here.
  • In the Endpoint field, input https://storage.googleapis.com
  • Enter the name of the bucket you just created in the Bucket field.
  • Copy the Access key created in Google Cloud Console and paste it in the Access key ID textbox, copy the Secret value and paste it into Secret access key textbox.
  • If you want your backups to be encrypted, make sure the Encrypt backups option is checked.
  • Click Next. config-cubebackup

Go through the rest of CubeBackup configuration

You can continue to complete CubeBackup’s configuration by following the configuration guide.