Cloud Sync
In the examples we provided below, we use AWS CLI to setup cloud synchronization with AWS.
AWS
Install Cloud Sync with CLI
root@xxxxxxxxxx:~/workspace/test# pip3 uninstall awscli
...
root@xxxxxxxxxx:~/workspace/test# aws configure
AWS Access Key ID [None]: xxxxxxxxxxxx
AWS Secret Access Key [None]: xxxxxxxxxxxxxxxxxxxxxxx
Default region name [None]:
Default output format [None]:Sync Files to AWS
// Sync files from S3
aws s3 sync s3://test0131/ /root/workspace/test// Sync files to S3
aws s3 sync s3://test0131/ /root/workspace/testLast updated