Amazon S3 Glacier is an extremely low-cost storage service that provides secure, durable, and flexible storage for data backup and archival.
With Amazon S3 Glacier storage, customers can reliably store their data for as little as $0.007 per gigabyte per month. Amazon Glacier enables customers to offload the administrative burdens of operating and scaling storage to AWS, so they don’t have to worry about capacity planning, hardware provisioning, data replication, hardware failure detection, and repair, or time-consuming hardware migrations.
- you should setup Glacier archiving for cloudHQ_archive folder – not for the destination folder.
- If you want to archive to Glacier the primary folder then you should disable the following two options for your backup:
- Archive files before they are changed or deleted by sync
- Automatically re-copy files if we detect tampering of copies on the target (you need to disable this because archive on Glacier will change the destination)
In summary, you should configure a rule for your storage buckets to automatically move files older than 3 months to Amazon S3 Glacier. This ensures that:
- Files that are frequently updated remain in the standard Amazon S3 storage,
- Files that hardly ever change are transferred to Amazon S3 Glacier,
- Old versions of files, stored in cloudHQ_archive, are also kept in Amazon S3 Glacier.
Here are short instructions for how to set up an archive of your Amazon S3 backups to Amazon Glacier:
- Go to your Amazon S3 buckets and select a particular bucket:
- Click Management:
- There is no lifecycle rule applied to this bucket. Here is how to add lifecycle rule to automatically transition objects to the Glacier storage class. Click Add lifecycle rule:
- Enter a rule name and choose a rule scope:
- Configure expiration (the number of days from object creation):
- Review configuration settings:
- Lifecycle rule is added:
Here is a short video with the instructions for how to set up an archive from Amazon S3 to Amazon Glacier: