I am trying to create a full backup with Amazon s3 following the steps in The xbcloud Binary
using the command xtrabackup --backup --user=user --password --stream=xbstream --extra-lsndir=/tmp --target-dir=/tmp | xbcloud put --storage=s3 --s3-endpoint=‘s3.amazonaws.com’ --s3-access-key=‘access_key’ --s3-secret-key=‘secret_key’ --s3-bucket=‘bucket-name’ --parallel=10 backup_name
This command works and uploads my files in s3 bucket in a folder, my question is how can I achieve the .xbstream or .tar.gz compressed version of my backup in s3 bucket. Will it be a manual step to compress it once the backup files are uploaded to s3 or do we have someother way to do it.
Appreciate any help.