Why does DriveSync ask for API access?
DriveSync uses the Google Drive API to compare folders, upload files, and move old versions into a recovery folder. Google needs to know two things. An OAuth client identifies the application making the request. Signing in to Google gives that application permission to work with your files.
If you’ve used FreeFileSync, you may remember simply adding a Google account and approving access in your browser. FreeFileSync distributes a client registered by its developer. DriveSync asks you to create a client in your own Google Cloud project. That is a choice DriveSync makes about how it connects. Both apps still need your permission to use Drive. FreeFileSync’s developer explains its client registration.
Your project gives you control over the client and a dashboard for its API traffic. Google still applies request, upload, and storage limits. Your Mac transfers files directly to Google through the bundled rclone engine. The downloaded client file stays on your Mac, and DriveSync keeps the saved connection in your login Keychain. Google Drive quotas
Personal setup
Use this route when one Google account will own the backup and sign in to DriveSync. Have DriveSync installed on your Mac and sign in to Google Cloud with that account.
Create your desktop client
Open Personal mode setup. Select an existing Personal project or create a new one. Choose Desktop app. Review Google’s terms and, if you agree, select the checkbox and choose Continue. In the confirmation dialog, choose Download JSON or save the Client ID and Client secret privately. The full secret is shown only at creation. Note the project name. Open Personal mode setup ↗
Enable the Google Drive API
Open the Drive API page. Check the project selector at the top and select the project where you created the client. Click Enable. When the page shows Manage, the API is ready. Open the Google Drive API ↗
Personal mode is tied to the account that created it. There is no publishing step or seven-day testing expiry for this mode. Continue to Connect on your Mac. Google’s Personal mode guide
Workspace or an existing project
Follow this route if your administrator provides a project, several people need to sign in, or your project is already configured as Internal or External. If you completed Personal setup, skip to Connect on your Mac.
Select the project and enable Drive
Open the project selector in Google Cloud. Choose your project or create one, then enable the Google Drive API for that project. Create a project · Enable Drive
Set up the Google consent screen
In Google Auth Platform, open Branding. Choose Get started if prompted. Enter an app name you will recognize at sign-in, such as “My DriveSync backup,” a support email, and the requested contact email. Open Branding ↗
Choose who can sign in
Open Audience. Choose Internal for eligible users in your organization. Choose External for other Google accounts. For External projects in Testing, add the exact account you will use under Test users. Open Audience ↗
Declare your Drive permission
Under Data Access → Add or remove scopes, select the permission you plan to use on your Mac. Choose
https://www.googleapis.com/auth/drive.filefor a new app-created backup folder orhttps://www.googleapis.com/auth/driveto work with an existing archive. Save the changes. Open Data Access ↗Download a Desktop app client
Open Clients → Create client → Desktop app. Give the client a recognizable name and click Create. Download the client JSON or save the displayed client ID and secret privately. Open Clients ↗
Planning nightly backups? Google normally expires refresh tokens after seven days for External projects in Testing that request Drive access. For an eligible External production project, use Audience → Publish app, complete any verification Google requests, then sign in again from DriveSync. For a single account, a new Personal project is another option. Your Workspace administrator may need to approve the client or its permissions. Google’s audience and publishing guide
Connect on your Mac
Import the downloaded client
Open DriveSync → Connections → Connect Google Drive. Click Choose Downloaded Client JSON… and select the file Google gave you. The client ID and secret fill in automatically. You can also paste both into the app. Give the connection a name such as
PersonalDrive. Choose a Desktop OAuth client when Google offers several credential types.
Choose the access your backup needs
- Limited Access
- The default for a fresh backup. DriveSync can work with files and folders created using this OAuth client. An empty folder browser can be normal. Create the backup folder from DriveSync.
- Full Drive Access
- Choose this when backing up to an existing folder or comparing files already on Drive. This grants broad read and write access to Drive files your account can manage. Google classifies the scope as restricted. Read Google’s scope descriptions.
Approve the connection in your browser
Click Sign In with Google…, choose the intended Google account and review the project name and permissions. Complete consent and return to DriveSync. Your connection should appear in Connections. Enter your Google password only on Google’s sign-in page. The website never needs your JSON, client secret, or sign-in token.
Already use rclone? In Connections → Import from rclone, select an existing Google Drive remote with a saved sign-in and write access. An import can reuse your current OAuth client. For an encrypted rclone configuration, use the setup above.
Preview your first backup
Choose a small local folder
For a first run, put a sample file in a new folder on your Mac. Choose New Backup, name it, then select Add Folder Pair…. Set the local folder, choose your Google connection, and click Browse… beside Folder in Drive. Choose or create a dedicated destination folder.
Start with Update and compare
Choose Update, save the pair, and click Compare. The preview should list the sample file as new. Update uploads missing files and local changes, keeps newer Drive versions, and leaves Drive-only files in place.
Verify the first upload
Run the backup and open the destination folder on Google Drive. Confirm your sample file is there, then run Compare again. The uploaded file should now count as matching.
When to choose Mirror. Use Mirror when the Mac should determine the contents of the Drive folder. Review the removals in Compare first. Mirror moves removed and replaced files under _Replaced/Versions beside the destination. Open Recover Versions in DriveSync to restore a copy.
When something looks wrong
Google says the API is disabled.
Check the project name that owns the desktop client, select it in Google Cloud, then open the Drive API and click Enable. Return to DriveSync and try again once Google shows Manage.
Google refuses the account or the consent screen.
For client_user_mismatch, select the account that created the Personal project. For External Testing, add the signing-in account under Test users. For a managed account, ask the Workspace administrator to approve the client and requested Drive scope. Confirm any displayed project name belongs to you or your organization before approving access.
DriveSync rejects the JSON or Google reports an invalid client.
In Google Auth Platform → Clients, check that the client is a Desktop app. Download its JSON or create a replacement Desktop client. Import that file on the Mac and sign in again. A web client, service-account key, or API key cannot authorize this connection.
Existing folders are missing in Browse.
Check the connected account and access level. With Limited Access, create a fresh backup folder from DriveSync. To use an existing archive, make a new Full Drive Access connection and select it in the folder pair. Compare again before uploading.
A scheduled connection stops working after a week.
Check whether an External project is still in Testing. Follow the publishing instructions above or use a Personal project for your own account. Reconnect in DriveSync to obtain a fresh sign-in after changing the Google project.
Google is rate limiting my backup.
Open Activity or Reports for the reason and retry time. For request throttling, DriveSync backs off. For an upload limit, DriveSync waits longer. A Mirror run that needs a new removal review will ask you to compare again. Creating another OAuth client does not lift Google’s account limits. A storage-full message needs space on Drive before the upload can finish. Google Drive error guide