Saltar a contenido

Espejado Multi-Nube

Replica automáticamente los archivos de tus buckets a proveedores de nube externos para redundancia o distribución CDN.

Espejar buckets a AWS S3

Replica automáticamente los archivos de tu bucket a Amazon S3 para redundancia o distribución CDN.

curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Espejo S3 Producción",
    "type": "AWS",
    "bucketId": "<bucket-id>",
    "region": "us-east-1",
    "bucketName": "mi-bucket-s3",
    "accessKeyId": "<aws-access-key>",
    "secretAccessKey": "<aws-secret-key>"
  }'

Espejar buckets a Azure Blob Storage

Replica archivos a contenedores de Azure Blob Storage.

curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Espejo Backup Azure",
    "type": "AZURE",
    "bucketId": "<bucket-id>",
    "accountName": "micuentadealmacenamiento",
    "containerName": "mi-contenedor",
    "accountKey": "<azure-account-key>"
  }'

Espejar buckets a Google Cloud Storage

Replica archivos a buckets de Google Cloud Storage.

curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Espejo GCS",
    "type": "GOOGLE",
    "bucketId": "<bucket-id>",
    "projectId": "mi-proyecto-gcp",
    "bucketName": "mi-bucket-gcs",
    "credentials": "<service-account-json>"
  }'

Espejar entre tenants de GFile

Replica archivos a otro tenant de GFile Plus — útil para recuperación ante desastres o compartir entre organizaciones.

curl -X POST "/api/v1/tenants/:tenantId/buckets/:bucketId/mirrors?apiKey=<your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Espejo Cross-Tenant",
    "type": "GFILE",
    "bucketId": "<bucket-id>",
    "gFileTenantId": "<target-tenant-id>",
    "gFileBucketId": "<target-bucket-id>",
    "apiKey": "<target-tenant-api-key>"
  }'