Sync Amazon S3 file contents on a schedule

Recipe ToolsMarketingDeveloper Tool

What it does

When a scheduled trigger fires every 5 minutes, this automation downloads file contents from Amazon S3. The file streams into a destination bucket to keep data synchronized across buckets on the set interval.

Who it's for

Data and analytics teams who need to sync Amazon S3 files on a recurring schedule without manual intervention.

How teams use this

Sync backups between S3 buckets

Download files from a production bucket every 5 minutes and upload them to a backup bucket. The automation keeps the backup current without requiring manual intervention or downtime.

Archive logs to a separate bucket

Move log files from an active bucket to an archive bucket on the schedule. The interval stays the same and only the source and destination buckets change.

Filter files by name before upload

Add a condition to download only files that match a specific naming pattern before streaming them to the destination. The sync runs every 5 minutes and processes only files that meet the filter criteria.

How it works

  1. Start the sync every 5 minutes. The automation starts on a schedule set to run every 5 minutes so the sync happens at regular intervals without manual steps.
  2. Download file contents from Amazon S3. Retrieve the file contents from the source Amazon S3 bucket so they are ready to move to the destination bucket.
  3. Upload file into bucket via streaming. Stream the file contents into the destination Amazon S3 bucket to complete the sync without storing the file locally.