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 space (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 a 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:
- Familiarize yourself with the Acronis documentation on this topic:
- Plan for 20 to 30 minutes to complete the setup.
Make your life easier! If needed, **local partners referenced by Infomaniak can handle these procedures**. Launch a **free call for tenders**. They take care of everything, freeing you from the technical details.
Allow Acronis to access Google Cloud Platform
In the Google Cloud Platform console:
- Select your new project.
- In the navigation menu, select APIs and services > Enabled APIs and services:
- Disable each of the APIs enabled by default in this project:
- Scroll through the page Enabled APIs and services
- Click on the name of an activated 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 navigation menu, select APIs and servicesβ > Library.β
- In the API library, activate the following APIs one by one, using the search bar to find the required APIs:
- API Gmail
- API Google Drive
- SDK Admin
- API Google Calendar
- Google People API
- Click on its name then on Enable.
- To search for the next API, go back to step 5.
- From the Google Cloud Platform navigation menu, select APIs and services > OAuth consent screen.
- In the window that opens, select Internal for the user type, then click on Create:
- In the Application name field, enter a name for your application.
- In the User support email field, enter the super administrator's address.
- In the Developer contact information field, enter the super administrator's address.
- Leave all other fields empty, then click on Save and continue.
- On the Scopes page, click on Save and continue without making any changes.
- On the Summary page, check your settings then click on Go back to dashboard.
- In the Google Cloud Platform navigation menu, select Credentialsβ > Service accountβ.β
- Click on Create a service account:
- Specify a name, a description and click on Create and continue:
- Do not make any changes to the steps Grant this service account access to the project and Grant users access to this service account.
- Click on Done; the Service Accounts page opens.
- Select the new service account, then under Actions, click on Manage keys.
- Under Keys, click on Add key > Create new key, then select the JSON key type:
- Click on Create; a JSON file containing the service account's private key 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.
- In the navigation menu of Google Cloud Platform, select Credentialsβ > Service account.β
- In the list, find the service account you created, then copy its client ID which is displayed in the OAuth 2.0 Client ID column (OAuth 2.0 Client ID):
- Click here to access the Google admin interface as a super administrator.
- In the navigation menu, select Security > Access and data control > 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 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 Allow.
Your new Google Cloud project can therefore access the data in your Google Workspace account.
Creation of the backup space
To set up Google Workspace backup with Acronis:
- Click here to access the Acronis Console with the credentials obtained after adding the device (need help?).
- Click on the add device button to add a device of type Google Workspace:
- Enter the address of a super administrator of your Google Workspace account (it doesn't matter if two-step verification is activated for the super administrator's email account).
- Search for the JSON file that contains the private key of the service account you created in your Google Cloud project (or paste the content of the file as text).
- Click on Confirm:
Your Google Workspace organization then appears under the Devices tab of the service console: