Aliyun OSS storage

Storage backup file to Aliyun OSS.

Storage config keys

type: s3

  • bucket - OSS bucket name
  • endpoint - Endpoint of OSS server, default: oss-cn-beijing.aliyuncs.com
  • path - remote path for save, default: /
  • access_key_id - Aliyun access_key_id
  • access_key_secret - Aliyun access_key_secret
  • timeout - Set timeout of remote upload, default: 300
  • max_retries - Max retries, default: 3
  • threads - Number of threads for parallel upload, default: 1, range: 1..100

https://github.com/huacnlee/gobackup/blob/master/storages/oss.go