Cloud Sync

Sync backups to the cloud for true 3-2-1 data protection

Local backups protect against accidental deletes and bad edits, but not against drive failure or theft. Syncing backups to the cloud completes the 3-2-1 rule. Ginkgo supports BYOS (Bring Your Own Storage) — use cloud drives or NAS you already own, with no capacity limits and no extra fees.

Supported Storage Backends

Covers major cloud providers and NAS. All backends support encrypted transfer and encrypted storage.

TypeProtocolCompatible With
S3AWS SDK v2Amazon S3, MinIO, Cloudflare R2, Wasabi, Alibaba OSS, Backblaze B2
WebDAVHTTPSynology, QNAP, Feichu Cloud, Nextcloud, ownCloud, any WebDAV server
SFTPSSH + SFTPAny SSH server with SFTP support
OneDriveMicrosoft GraphMicrosoft personal and business accounts
DropboxDropbox APIDropbox
Google DriveGoogle Drive APIGoogle Drive
peer://Mesh Backup (P2P)Other devices running Ginkgo Backup, no central server needed. See the Mesh Backup docs.

Add a Cloud Backend

On the Cloud Storage page, add a backend and click "Test Connection" to verify it works before saving.

S3 Configuration Fields

字段必填说明
endpointRequiredS3 endpoint URL
bucketRequiredBucket name
regionRequiredRegion
access_key_idRequiredAccess key
secret_access_keyRequiredSecret key
prefixOptionalPath prefix within the bucket

WebDAV Configuration Fields

字段必填说明
urlRequiredWebDAV server URL
usernameRequiredUsername
passwordRequiredPassword

SFTP Configuration Fields

字段必填说明
hostRequiredSSH server address
portOptionalSSH port (default 22)
usernameRequiredSSH username
passwordOne of twoSSH password
private_keyOne of twoSSH private key (PEM format)

OneDrive / Dropbox / Google Drive

These cloud drives use the OAuth2 authorization flow:

1

When creating a backend of these types, the API returns an authorization URL

2

Open the URL in a browser, sign in and authorize

3

Paste the callback URL back into Ginkgo

4

Tokens auto-refresh and persist — no re-auth needed

💡 Google Drive uses the full drive scope (not drive.file) so it can list existing folders and avoid duplicate creation.

Create a Sync Job

After adding a cloud backend, create a sync job to copy local backups to the cloud:

Sync is asynchronous — after a backup completes, blobs upload in the background. Failed syncs are retried automatically by the Patrol service.

Use 3-2-1 to Protect Your Data

Ginkgo natively supports "one source, multiple storage targets." Configure a local repo + cloud repo for the same source, and each backup writes to both — making 3-2-1 effortless.

Security Notes

  • Cloud credentials are encrypted with the repository key and stored in the local database
  • If repository encryption is enabled, blobs are encrypted before upload
  • OAuth2 tokens auto-refresh and persist
  • All cloud backends use TLS for encrypted transfer