`aws s3 sync` lessons learned


As mentioned in my earlier posts, we use aws s3 sync to migrate a large number of files from on-premise to AWS. Here are a few things that I learned:

An error occurred (ExpiredToken) when calling the PutObject operation: The provided token has expired.
  • --exact-timestamps option only works when syncing from S3 to local, same-sized items will be ignored only when the timestamps match exactly. The default behavior is to ignore same-sized items unless the local version is newer than the S3 version. (Source code)

Advertisement

One thought on “`aws s3 sync` lessons learned

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s