Multi-Cloud Mirroring
Automatically replicate your bucket's files to external cloud providers for redundancy or CDN distribution.
Mirror buckets to AWS S3
Automatically replicate your bucket's files to Amazon S3 for redundancy or CDN distribution.
curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"name": "Production S3 Mirror",
"type": "AWS",
"bucketId": "<bucket-id>",
"region": "us-east-1",
"bucketName": "my-s3-bucket",
"accessKeyId": "<aws-access-key>",
"secretAccessKey": "<aws-secret-key>"
}'
Mirror buckets to Azure Blob Storage
Replicate files to Azure Blob Storage containers.
curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"name": "Azure Backup Mirror",
"type": "AZURE",
"bucketId": "<bucket-id>",
"accountName": "mystorageaccount",
"containerName": "my-container",
"accountKey": "<azure-account-key>"
}'
Mirror buckets to Google Cloud Storage
Replicate files to Google Cloud Storage buckets.
curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"name": "GCS Mirror",
"type": "GOOGLE",
"bucketId": "<bucket-id>",
"projectId": "my-gcp-project",
"bucketName": "my-gcs-bucket",
"credentials": "<service-account-json>"
}'
Mirror between GFile tenants
Replicate files to another GFile Plus tenant — useful for disaster recovery or cross-organization sharing.
curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"name": "Cross-Tenant Mirror",
"type": "GFILE",
"bucketId": "<bucket-id>",
"gFileTenantId": "<target-tenant-id>",
"gFileBucketId": "<target-bucket-id>",
"apiKey": "<target-tenant-api-key>"
}'