Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Backup Google Workspace with Acronis on Swiss Backup
This guide details how to back up a Google Workspace (Gmail, Google Drive, Google Calendar, …) using Acronis on Swiss Backup, the backup solution in an independent Swiss cloud.
It is also possible to back up other types of data.
Prerequisites
- Have an Infomaniak Swiss Backup space with an available device quota (minimum 1) for a Google Workspace backup (1 license per Workspace user to be backed up)
- If necessary, increase the device quota according to your needs
- add the device to the Infomaniak Manager to receive the login credentials
- create a new project on Google Cloud Platform (console.cloud.google.com) as a super administrator
- read the Acronis documentation on this:
- allow 20 to 30 minutes to set everything up
⚠️ For additional assistance, contact a partner or submit a request for proposal — also read the role of the host
Authorize Acronis to Access Google Cloud Platform
In the Google Cloud Platform console:
- select your new project
- in the navigation menu, select APIs & Services > Enabled APIs and Services
- disable each API enabled by default in this project one by one:
- scroll down the Enabled APIs and Services page
- click on the name of an enabled API
- on the API/Service details page that opens, click Disable and confirm
- go back to the previous page and do the same with the next API
- from the Google Cloud Platform navigation menu, select APIs & Services > Library
- in the API library, enable the following APIs one by one:
- Gmail API
- Google Drive API
- Admin SDK
- Google Calendar API
- Google People API
- click on its name and then on Enable
- to search for the next API, return to step 5
- from the Google Cloud Platform navigation menu, select APIs & Services > OAuth consent screen
- in the window that opens, select Internal for the user type, then click Create
- in the Application name field, enter a name for your application
- in the User support email field, enter the email address of the super administrator
- in the Developer contact information field, enter the email address of the super administrator
- leave all other fields blank, then click Save and Continue
- on the Scopes page, click Save and Continue without making any changes.
- on the Summary page, review your settings and then click Return to Dashboard
- from the Google Cloud Platform navigation menu, select Credentials > Service account
- click on Create Service Account
- specify a name, description, and click Create and Continue
- do not modify anything in the Grant this service account access to project and Grant users access to this service account steps
- click Done; the Service accounts page opens
- select the new service account, then under Actions, click Manage keys
- under Keys, click on Add Key > Create new key, then select the JSON key type
- click Create; a JSON file containing the private key of the service account is automatically downloaded to your machine: keep this file safe as you will need it to add your Google Workspace organization to the Cyber Protection service as described later in this guide
- from the Google Cloud Platform navigation menu, select Credentials > Service account
- in the list, find the service account you created, then copy its OAuth 2.0 Client ID displayed in the OAuth 2.0 Client ID column (OAuth 2.0 Client ID)
- log in to the Google Admin console (admin.google.com) as a super administrator
- in the navigation menu, select Security > Access and data controls > API controls
- scroll down the API controls page then under Domain-wide delegation, click on Manage domain-wide delegation; the Domain-wide delegation page opens
- on this page click on Add
- the Add a new client ID window opens
- in the Client ID field enter the client ID of your service account
- in the OAuth scopes field add the following "scopes":
- https://mail.google.com
- https://www.googleapis.com/auth/contacts
- https://www.googleapis.com/auth/calendar
- https://www.googleapis.com/auth/admin.directory.user.readonly
- https://www.googleapis.com/auth/admin.directory.domain.readonly
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/gmail.modify
- click on Authorize
Your new Google Cloud project can now access data from your Google Workspace account.
Creating the Backup Space
To configure Google Workspace backup with Acronis:
- log in to the Acronis Console (acronis.infomaniak.com) with the credentials obtained after adding the device — read this guide (click here) if needed
- click the device add button to add a Google Workspace device
- enter the email address of a super administrator for your Google Workspace account (no matter if two-step verification is enabled for the super administrator's email account)
- locate the JSON file containing the private key of the service account you created in your Google Cloud project (or paste the file's content as text)
- click Confirm
Your Google Workspace organization will then appear under the Devices tab in the service console.
Link to this FAQ: