S3

Using tar and AWS S3

Example of tar straight to object storage and untar back. $ tar -cP /ARCHIVE/temp/ | gzip | aws s3 cp – s3://sites2-ziparchives.ls-al.com/temp.tgz $ aws s3 ls s3://sites2-ziparchives.ls-al.com | grep temp.tgz 2020-05-07 15:40:28 7344192 temp.tgz $ aws s3 cp s3://sites2-ziparchives.ls-al.com/temp.tgz – | tar zxvp tar: Removing leading `/' from member names /ARCHIVE/temp/ … $ ls…