I know this is an older post but im wondering if it still applies with the new AWS CLI v2?
I followed the guide but got the errors:
/scripts/user_backup_s3: line 27: aws: command not found
/scripts/user_backup_s3: line 31: aws: command not found
also in order to securely connect to S3 what needs to be done to install keys etc? is there a good guide on all of this as im a bit of a s3 newb...
i changed the code to look for aws2 instead of aws but i get Unknown Options messages:
Unknown options: /backups/daily/20200130_stevepl.tar.gz,s3://BUCKETNAME.s3-ap-southeast-2.amazonaws.com/BUCKETPATH/backups/SERVER
BUCKETNAME = the name of my bucket
BUCKETPATH = the path to my buckets backup folder
SERVER = my folders name