Skip to main content
type: s3 pulls files from an S3-compatible bucket so they can be re-archived to another destination. No external binaries are required — snapr uses the AWS SDK directly.

Example

snapr.yaml

Options

How it works

snapr lists the bucket (under path if set) and downloads the matching objects. Without syncPath, it uses a temporary directory that is cleaned up after the run. With syncPath, it reuses the directory across runs and skips objects whose size and modification time already match locally. The downloaded tree is then compressed, encrypted, and uploaded to the configured storages. There is no direct bucket-to-bucket transfer — see how remote sources are fetched.

Requirements

  • The configured credentials need s3:ListBucket on the bucket and s3:GetObject on the keys (or the prefix selected by path).

Notes

MinIO with a persistent cache

snapr.yaml