Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does aws s3 sync s3://mybucket s3://mybucket2 copy files to local?

I need to copy a (large) s3 bucket to another s3 bucket as part of my deploy process. Does running aws s3 sync s3://mybucket s3://mybucket2 copy the files in mybucket to the local machine where this command is being run? Or do the files stay serverside?

like image 636
commanda Avatar asked Dec 20 '16 22:12

commanda


1 Answers

In this command, files (or objects) are being synchronized between two S3 buckets across AWS network and do not get copied to your local machine during the process.

like image 181
Khalid T. Avatar answered Nov 15 '22 07:11

Khalid T.