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 a Swiss Backup Infomaniak space with available device quota (minimum 1) for a Google Workspace backup (1 license per Workspace user to back 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:
- Review the Acronis documentation on this subject:
- Plan 20 to 30 minutes to set everything up.
Make your life easier! If needed, local partners referenced by Infomaniak can handle these steps. Launch a free call for tenders. They handle everything, freeing you from technical details.
Authorize 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 one by one all the APIs enabled by default in this project:
- Scroll through the Enabled APIs and services page
- Click on the name of an enabled API.
- On the API/Service details page that opens, click on 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:
- Gmail API
- Google Drive API
- Admin SDK
- Google Calendar API
- Google People API
- Click on its name, then on Activate.
- To search for the next API, return 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 App name field, indicate 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 blank, 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 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 modify anything in the Grant this service account access to the project and Grant users access to this service account steps.
- 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 in a safe place as you will need it to add your Google Workspace organization to the Cyber Protection service as described later in this guide.
- In the Google Cloud Platform navigation menu, select Credentials > Service account.
- In the list, search for 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 administration 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 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 therefore access the data from your Google Workspace account.
Creation of the backup space
To configure the backup of Google Workspace with Acronis:
- Click here to access the Acronis Console with the credentials obtained after adding the device (need help?).
- Click on the device addition button to add a Google Workspace type device:
- 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: