title | description | weight | alias | tags | ||
---|---|---|---|---|---|---|
Backing Up Google Drive to TrueNAS SCALE |
Provides instructions on adding Google Drive cloud credentials using the Add Cloud Credentials and Add Cloud Sync Task screens. It also provides information on working with Google-created content. |
10 |
/scale/scaleuireference/dataprotection/cloud-sync-tasks/cloudsynctaskgoogledrive/ |
|
Google Drive and G Suite are widely used tools for creating and sharing documents, spreadsheets, and presentations with team members. While cloud-based tools have inherent backups and replications included by the cloud provider, certain users might require additional backup or archive capabilities. For example, companies using G Suite for important work might be required to keep records for years, potentially beyond the scope of the G Suite subscription. TrueNAS offers the ability to easily back up Google Drive by using the built-in cloud sync.
You can add Google Drive credentials using the Add Cloud Credentials screen accessed from the Credentials > Backup Credentials > Cloud Credentials screen, or you can add them when you create a cloud sync task using the Add Cloud Sync Task screen accessed from the Data Protection > Cloud Sycn Task screen.
{{< include file="/static/includes/AddCloudCredentialStep1.md" >}}
-
Select Google Drive on the Provider dropdown list. The Google Drive authentication settings display on the screen.
-
Enter the Google Drive authentication settings.
a. Click Log In To Provider. The Google Authentication window opens.
b. Click Proceed to open the Choose an Account window.
c. Select the email account to use. Google displays the Sign In window. Enter the password and click Next to enter the password. Click Next again. Google might display a Verify it's you window. Enter a phone number where Google can text an verification code, or you can click Try another way.
d. Click Allow on the TrueNAS wants to access your Google Account window. TrueNAS populates Access Token with the token Google provides.
-
Click Verify Credentials and wait for TrueNAS to display the verification dialog with verified status. Close the dialog.
-
Click Save. The Cloud Credentials widget displays the new credentials. These are also available for cloud sync tasks to use.
You must add the cloud credential on the Backup Credentials screen before you create the cloud sync task.
To add a cloud sync task, go to Data Protection > Cloud Sync Tasks and click Add. The Cloudsync Task Wizard opens.
-
Select Google Drive on the Credential dropdown list, then enter your credentials.
-
Click Next.
{{< include file="/static/includes/AddCloudSyncTaskSteps3-8.md" >}}
See Using Scripting and Environment Variables for more information on [environment variables]({{< relref "/SCALE/SCALETutorials/DataProtection/CloudSyncTasks/_index.md" >}}).
{{< include file="/static/includes/GoogleDriveBadPermissions.md" >}}