Throttling S3 commands with aws cli

前端 未结 5 2092
甜味超标
甜味超标 2021-02-07 07:31

I\'m running a backup script using AWS CLI to perform an S3 sync command every night on my MediaTemple server. This has run without fail for months, but I updated my Plesk insta

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 07:56

    I could not get trickle to work with aws-cli, but came across s3cmd which works great for me. It has an option to rate limit. It can be found in the Fedora repos, and I imagine other distros have it packaged too.

    s3cmd --progress --stats --limit-rate=50k sync ./my_photos/ s3://mybucket
    

    s3cmd man page

提交回复
热议问题