Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 一个特定区域的S3桶到另一个特定区域的S3桶?_Amazon Web Services_Amazon S3 - Fatal编程技术网

Amazon web services 一个特定区域的S3桶到另一个特定区域的S3桶?

Amazon web services 一个特定区域的S3桶到另一个特定区域的S3桶?,amazon-web-services,amazon-s3,Amazon Web Services,Amazon S3,如何将特定区域的S3存储桶的内容传输到另一个特定区域的S3存储桶?如果可以,请提供最简单的方法和详细步骤。您可以使用同步S3存储桶内容。例如: aws s3 sync s3://mybucket1/ s3://mybucket2/ 首先,您需要根据需要在不同的区域创建两个bucket,然后在awscli中使用以下命令将bucket中的数据彼此同步 aws s3 sync s3://mybucket1/ s3://mybucket2/ aws s3 sync s3://mybucket2/ s

如何将特定区域的S3存储桶的内容传输到另一个特定区域的S3存储桶?如果可以,请提供最简单的方法和详细步骤。您可以使用同步S3存储桶内容。例如:

aws s3 sync s3://mybucket1/ s3://mybucket2/

首先,您需要根据需要在不同的区域创建两个bucket,然后在awscli中使用以下命令将bucket中的数据彼此同步

aws s3 sync s3://mybucket1/ s3://mybucket2/

aws s3 sync s3://mybucket2/ s3://mybucket3/

嘿Raghuram,欢迎来到StackOverflow!为了最大限度地提高谈话质量,我们社区的成员鼓励(并期望)为解决问题而进行的独立研究。这有助于我们更好地交谈(并为人们指出正确的方向)。你能用迄今为止找到的任何信息(以及你所面临的问题)更新你的问题吗?我们非常乐意跟进。您希望执行一次性复制,还是连续复制对象?