Skip to content
Storage Providers

S3 & S3-Compatible (12 Presets)

Configure AWS S3, Cloudflare R2, MinIO, Alibaba OSS, Backblaze B2, and 7 other presets with SigV4, parallel multipart resume, and server-side copy.

The s3 backend (backend-s3) targets Amazon S3 and 11 S3-compatible object stores through a built-in provider capability matrix. Presets encode exact per-vendor quirks such as Cloudflare R2's equal-non-final-parts rule, conditional writes, and hardware-accelerated checksum support.

Quick Setup#

rship auth s3 r2 \
  --provider r2 \
  --bucket backups \
  --region auto \
  --endpoint https://<ACCOUNT_ID>.r2.cloudflarestorage.com \
  --access-key-id <ACCESS_KEY_ID> \
  --secret-access-key <SECRET_ACCESS_KEY>

rship about r2:backups

12 Built-In Presets#

Pass --provider <preset> to rship auth s3. Any preset profile can still be overridden with explicit flags such as --region, --endpoint, --force-path-style, or --strict-sigv4.

PresetServiceDefault RegionAddressingMax ObjectChecksums & Quirks
awsAmazon S3us-east-1Virtual-hosted~48.8 TiBCRC64NVME, CRC32C, SHA256, MD5; If-None-Match & If-Match
r2Cloudflare R2autoPath-style5 TiBCRC32C, SHA256, MD5; equal non-final part size enforced; If-None-Match & If-Match
minioMinIO / Silous-east-1Path-style5 TiBCRC32C, SHA256, MD5; If-None-Match & If-Match
ossAlibaba Cloud OSSoss-cn-hangzhouVirtual-hosted~48.8 TiBSHA256, MD5
b2Backblaze B2us-west-000Path-style10 TiBSHA256, SHA1, MD5
wasabiWasabi Hot Cloudus-east-1Virtual-hosted5 TiBSHA256, MD5; If-None-Match
digitaloceanDigitalOcean Spacesnyc3Virtual-hosted5 TiBSHA256, MD5
cosTencent Cloud COSap-guangzhouVirtual-hosted~48.8 TiBSHA256, MD5
tigrisTigris StorageautoVirtual-hosted5 TiBEndpoint fly.storage.tigris.dev; CRC32C, SHA256, MD5; If-None-Match & If-Match
scalewayScaleway Objectfr-parVirtual-hosted5 TiBSHA256, MD5
hetznerHetzner Objectfsn1Virtual-hosted5 TiBSHA256, MD5
genericCeph / Garage / SeaweedFSus-east-1Path-style5 TiBSHA256, MD5 (aliases: other, ceph, seaweedfs, garage)

Authentication & Flags (rship auth s3)#

FlagDefaultDescription
<REMOTE>—Logical remote name (e.g. r2, aws-backups)
--providerawsPreset from the 12-provider table above
--bucketOptionalDefault bucket; omit to address multiple buckets as remote:bucket/path
--prefixEmptyOptional key prefix scoped inside the bucket
--regionPreset defaultAWS / vendor region string
--endpointPreset defaultCustom endpoint URL (required for r2, minio, generic)
--force-path-stylePreset defaultForce endpoint/bucket/key (true) or bucket.endpoint/key (false)
--env-authfalseResolve AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN from env
--strict-sigv4falseForce full SHA-256 payload hashing even over HTTPS
--storage-classNoneSend x-amz-storage-class header on object writes (e.g. STANDARD_IA, GLACIER)

Protocol Internals & Crash Resume#

  • Single-shot vs. parallel multipart: Objects <= 16 MiB (single_shot_max_bytes) upload via a single PutObject; larger files stream through CreateMultipartUpload + parallel UploadPart workers (--part-concurrency 4, 16 MiB default part size, 5 MiB minimum, up to 10,000 parts).
  • Paginated ListParts crash-resume: Upload IDs and completed part ETag/offsets are journaled in SQLite WAL. After a crash or SIGKILL, rship paginates ListParts and uploads only missing parts before calling CompleteMultipartUpload. Run rship gc --all to abort stale server-side multipart uploads.
  • Zero aws-chunked overhead: By default (PayloadSigningMode::Auto), HTTPS uploads send x-amz-content-sha256: UNSIGNED-PAYLOAD to eliminate an extra digest pass; plain http:// endpoints or --strict-sigv4 automatically compute streaming SHA-256 payload digests.
  • Server-side copy & range reads: Same-remote transfers use CopyObject for objects up to 5 GiB and switch automatically to multipart UploadPartCopy above 5 GiB. rship cat supports HTTP Range byte offsets.
  • rclone migration: Existing [remote] sections with type = s3 (and provider / endpoint / access_key_id / secret_access_key) import cleanly via rship config import-rclone.

Next Steps#