Customers connect their own storage accounts. The host supplies the Google OAuth application configuration, not a shared personal Drive. One customer's connection does not let another customer browse that storage.
Connect Google Drive as a customer
- Open Backups → Cloud storage.
- Choose Connect Google Drive and select your Google account.
- Review and grant the requested file access.
- Return to Backups and finish the connection. If your panel session expired, sign in to the same panel account before finishing within the pending connection window.
- Confirm the saved connection appears with your account email.
- On a ready local backup, choose Copy to that connection.
The requested drive.file scope grants access to files created by this app or explicitly selected for it. It is not permission to browse your entire Drive. Choose another Drive file uses Google Picker when the host configured it. A valid ZIP that the app cannot access will not automatically appear just because it exists in your Drive.
Host: configure Google once
Open Administration → System → Storage setup. Keep your client secret private.
- In Google Cloud Console, select or create a project. Enable Google Drive API. Enable Google Picker API too if customers need to choose other existing files.
- Configure Google Auth Platform branding, audience and contact details. Use an External audience for customers outside your organization.
- While the app is in Testing, add each tester's actual Google account under test users. Testing-mode refresh tokens can expire after seven days. Complete Google's production publishing/verification requirements before a general launch.
- Create an OAuth client with type Web application.
- Add the panel's HTTPS origin, such as
https://panel.example.com, as an authorized JavaScript origin. - Add the exact redirect URI
https://panel.example.com/backups/google/callback. - Save the client ID, client secret and public panel root URL in the panel.
- For Picker, create an API key restricted to Google Picker API and the panel's HTTP referrer, such as
https://panel.example.com/*. Save it and the project's numeric project number. The project number is not the text project ID. - Test with an ordinary customer account and its own Google Drive.
The OAuth client ID comes from that web client's details in Google Cloud. The secret is separate from the Picker API key. Changing the panel origin or OAuth client can require reconnecting customers. Google access is for backup storage; it does not create shared panel/forum login.
Connect AWS S3
- Create a private general-purpose AWS S3 bucket in the desired region. Leave public access blocked.
- Create a dedicated IAM identity scoped to the bucket and backup prefix. Do not use AWS root credentials.
- In Add AWS S3 storage, enter a label, bucket, region, prefix, access key ID and secret access key. Temporary credentials also need their session token and must be renewed when expired.
- Choose Test & save S3 connection.
- Copy a ready backup to it. Later choose Browse backups → Download for restore.
The current integration targets AWS S3. It does not expose an arbitrary endpoint field or promise compatibility with every S3-compatible service.
Example least-privilege policy
Replace the bucket and prefix with your own values. Additional organization policies or encryption-key permissions may be required by your AWS setup.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": "arn:aws:s3:::YOUR-BUCKET",
"Condition": {
"StringLike": {"s3:prefix": ["game-backups/*", "game-backups/"]}
}
},
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:AbortMultipartUpload", "s3:ListMultipartUploadParts"],
"Resource": "arn:aws:s3:::YOUR-BUCKET/game-backups/*"
}
]
}
Upload, download and verification
Uploads retain the local backup. A completed byte counter can still be verifying. Wait for ready. An uncertain upload should be checked with Verify remote copy; do not blindly create duplicates.
For recovery, browse your connection and choose Download for restore on the full ZIP. Progress appears beside that file. The downloader validates exact 16 MiB ranges, retries an interrupted range up to three times within the active job, detects source changes and verifies available whole-file checksums before staging the archive. It rejects a provider response that ignores the requested range.
A 1 Gbps network link is a theoretical maximum, not a Drive transfer guarantee. Provider delivery, request latency, disk writes and verification affect speed. A new download after a failed job does not resume the old temporary file.
Privacy and costs
Cloud secrets stay server-side under your panel account. Disconnecting removes the panel connection, not the files already stored in the cloud. The machine's administrator controls the host and can access its private storage; this is not encryption against the hosting operator.
Storage, API and transfer charges belong to the cloud account owner. Keep enough local free space for downloaded archives and restore staging; cloud storage does not eliminate local restore requirements.
