Connect Google Drive
PratikYedek uses Google's app-folder scope (drive.appdata). We can only read and write files we created — your photos, documents, and other Drive files are invisible to us.
Prerequisites
- A personal or SME plan (tax-advisor plan is restricted)
- A Google account with at least 1 GB free
- Browser available for OAuth consent
Step 1 — Open Storage settings
- Sign in to https://app.pratikyedek.com (or open the desktop/mobile app)
- Navigate to Settings → Storage
- Click Connect Google Drive
Step 2 — OAuth consent
A new browser tab opens with Google's consent screen:
- App: PratikYedek Yazılım (verified)
- Permission requested: "See, edit, create, and delete its own configuration data in your Google Drive" (this is the
drive.appdatascope)
Approve to continue.
Step 3 — KVKK § 9 consent
Because Google Drive may store data outside Turkey:
- A consent modal lists target regions (US/EU multi-region)
- You explicitly accept the cross-border transfer (KVKK § 9)
- The consent is logged with timestamp + IP (KVKK § 12 evidence)
Step 4 — Connection test
The Test button:
- Writes a 1 KB encrypted probe file
- Reads it back
- Deletes it
- Confirms green checkmark in the UI
Step 5 — First BYOS snapshot
The next snapshot will:
- Encrypt files locally (AES-256-GCM)
- Upload encrypted chunks to your Drive's
appDataFolder - Store only metadata (chunk hashes, sizes) on PratikYedek servers
Token refresh
OAuth refresh tokens rotate every 6 months automatically. If a snapshot fails due to token expiry, you'll see a banner: "Reconnect Google Drive". One click reauthorizes; no data is lost.
Disconnect
Settings → Storage → Disconnect revokes the OAuth token. Existing chunks remain in your Drive (you can delete them manually from appDataFolder).
Troubleshooting
- "403 storageQuotaExceeded" — your Drive is full; upgrade Google One or free space
- "401 invalid_grant" — token revoked from Google account security; reconnect
- Slow uploads — Google rate-limits app-folder writes to ~5 req/sec; large snapshots use chunking + retry
See also:

