Upload Cpnale backup to Glacier Deep Archive
Hello
I have configured WHM to upload cpnale backup to Amazon S3 bucket, however when backups are uploaded in S3 bucket their Storage class is "Standard" which is costly .
is this possible that when backups are uploaded on Amazon S3 buckets, they write directly to Glacier Deep Archive classs instead of "Standard" class?
-
Hello! There would be no cPanel-supported way to do this but maybe some users here can offer input. 0 -
If you are using cpanel backup then you can setup Lifecycle on aws s3. For this, login to aws account and select the bucket and create life cycle option and select transition to Deep glacier. Second option is use AWS CLI Option. Take the backup to local disk and apply the following command to transfer backup files and change the storage also. aws s3 cp /backup/2022-01-12/accounts/*.tar.gz s3://bucketname/foldername/ --storage-class DEEP_ARCHIVE 0
Please sign in to leave a comment.
Comments
2 comments