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 (underpath 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:ListBucketon the bucket ands3:GetObjecton the keys (or the prefix selected bypath).
Notes
MinIO with a persistent cache
snapr.yaml
Related
- Sources overview
- S3 storage — use S3 as a backup destination