Make AWS S3 copy nicer
This commit is contained in:
parent
6f842a3464
commit
4c9e27d9a5
@ -56,7 +56,7 @@ done
|
||||
s3bucket="{{ aws_backup_bucket }}"
|
||||
if command -v aws > /dev/null 2>&1 && aws s3 ls "s3://$s3bucket" > /dev/null 2>&1; then
|
||||
log "Moving files to S3 bucket $s3bucket"
|
||||
aws s3 mv "$BACKUPSDIR" "s3://$s3bucket" \
|
||||
nice -n 10 aws s3 mv "$BACKUPSDIR" "s3://$s3bucket" \
|
||||
--recursive \
|
||||
--only-show-errors \
|
||||
--exclude "*.log" \
|
||||
|
Loading…
Reference in New Issue
Block a user