FreeCORE Documentation freecore.org

Backing Up Google Drive to FreeCORE

Describes how to back up Google Drive to FreeCORE.

Google Drive and G Suite are widely used to create and share documents, spreadsheets, and presentations with team members.

Although cloud-based tools have inherent backups and replications included by the cloud provider, certain users may require additional backup or archive capabilities.

For example, companies using G Suite for important work may need to keep records for years, potentially beyond the scope of the G Suite subscription.

FreeCORE can easily back up Google Drive using its built-in cloud sync.

Set up Google Drive Credentials

Go to System > Cloud Credentials and click ADD. Name the Credential and select Google Drive as the Provider. Click LOGIN TO PROVIDER and log in with the appropriate Google user account.

CloudCredentialsAddCredentials
Figure 1: Cloud Credentials Add Credentials

Google requests permission to access all the Google Drive files for the FreeCORE device.

GoogleOAuthProceed
Figure 2: Google OAuth Proceed
GoogleOAuthAccount
Figure 3: Google OAuth Account
GoogleOAuthPermissions
Figure 4: Google OAuth Permissions

Allow access. The appropriate access key generates in the access token. You may assign a Team ID if necessary.

Click VERIFY CREDENTIAL and wait for it to verify, then click SUBMIT

CredentialsVerify
Figure 5: Credentials Verify

Create the Cloud Sync Task

Go to Tasks > Cloud Sync Tasks and set the backup time frame, frequency, and folders (cloud-based folder and FreeCORE dataset). Set whether the synchronization should sync all changes, copy new files, or move files. Add a description for the task and select the cloud credentials. Choose the appropriate cloud folder target and FreeCORE storage location.

Select the file transfer mode:

TasksCloudSyncCreate
Figure 6: Tasks Cloud Sync Create

Once you create the task, attempt a Dry Run.

CloudSyncDryRun
Figure 7: Cloud Sync Dry Run
CloudSyncDryRunLog
Figure 8: Cloud Sync Dry Run Log

If the Dry Run succeeds, click SAVE..

CloudSyncTaskNew
Figure 9: Cloud Sync Task New

Expand the section down to see the task options.

CloudSyncTaskNewExpanded
Figure 10: Cloud Sync Task New Expanded

Clicking RUN NOW prompts the task to start immediately.

CloudSyncRunNow
Figure 11: Cloud Sync Run Now
CloudSyncTaskStarted
Figure 12: Cloud Sync Task Started
CloudSyncTaskRunning
Figure 13: Cloud Sync Task Running

The web interface shows the status as RUNNING and SUCCESS upon completion. You can see details in the Task Manager. While the task runs, clicking on the RUNNING button reveals a popup log.

CloudSyncTaskRunningLog
Figure 14: Cloud Sync Task Running Log

Once the sync reports SUCCESS, you can verify it by opening the folder on another computer if it is a share, through SSH access, or by checking the destination directory through the FreeCORE CLI.

CloudSyncTaskSuccess
Figure 15: Cloud Sync Task Success

Working with Google-Created Content

One caveat is that Google Docs and other files created with Google tools have their own proprietary set of permissions and their read/write characteristics unknown to the system over a standard file share. Files are unreadable as a result.

GoogleDriveBadPermissions
Figure 16: Google Drive Bad Permissions

To allow Google-created files to become readable, allow link sharing to access the files before the backup. Doing so ensures that other users can open the files with read access, make changes, and then save them as another file if further edits are needed. Note that this is only necessary if the file was created using Google Docs, Google Sheets, or Google Slides; other files should not require modification of their share settings.

GoogleDriveShareLink
Figure 17: Google Drive Share Link

FreeCORE is perfect for storing content, including cloud-based content, for the long term. Not only is it simple to sync and backup from the cloud, but users can rest assured that their data is safe, with snapshots, copy-on-write, and built-in replication functionality.