Failed to sync and upload to s3 bucket #7152
-
I have this script where I'm syncing a local directory to s3, but it's only migrating the
A warning is also splashed on my terminal that reads:
What is wrong with this script that I'm not seeing? Should I be using a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @lzhoujc, thanks for reaching out. I noticed dash/hyphen inside the --include value in your command, is that intentional? I would double check for any typos as mentioned in this example. Also, I'm not sure what your local directory path looks like but here's another possible root cause where you'd have to include the path in the --include value. If you're still having issue, can you share the debug log by adding Please let me know if any of this resolves the issue. |
Beta Was this translation helpful? Give feedback.
-
how are the permissions set on the files? |
Beta Was this translation helpful? Give feedback.
Hi @lzhoujc, thanks for reaching out.
I noticed dash/hyphen inside the --include value in your command, is that intentional? I would double check for any typos as mentioned in this example.
Also, I'm not sure what your local directory path looks like but here's another possible root cause where you'd have to include the path in the --include value.
If you're still having issue, can you share the debug log by adding
--debug
to the end of the command like thisaws s3 sync local_directory s3://bucket-name --exclude "*" --include "*" --debug
?Please let me know if any of this resolves the issue.