duplicacy icon indicating copy to clipboard operation
duplicacy copied to clipboard

S3 Storage Class

Open madranet opened this issue 8 years ago • 4 comments

Is there a way to specify Amazon S3 Storage class when uploading? It defaults to Standard, where I want to use Standard-IA [infrequent access], which is cheaper and a better fit for a backup archive.

madranet avatar Oct 18 '17 17:10 madranet

Can you set up a transition rule to move chunk files from the standard storage to the infrequent access storage?

It should be easy to add a new storage url prefix, such as s3ia://, to support the infrequent access storage class, but I think if the transition rule works then this may not be necessary.

gilbertchen avatar Oct 19 '17 00:10 gilbertchen

Yes. It's possible to add a rule to a bucket to transition from Standard to Standard-IA [which is what I've done]. The downside is that it's only possible to transition items to a different storage class, this way, after they've been in the bucket for 30 days. So that means that I'll be paying the more expensive rate for the first month on the entire original archive upload and on every subsequent incremental upload.

2017-10-19_12-06-11

It would be helpful [and cheaper] if you could add an option to set storage class at initial upload.

madranet avatar Oct 19 '17 11:10 madranet

@gilbertchen you won't want all files in the same storage class blindly, and you do need to be able to set it per-file at upload time. Just adding another storage type/prefix cannot cover all the use cases.

  • Standard-IA charges for at least 128KB; smaller files can be cheaper in Standard
  • Standard-IA has extra costs for retrieval, so it's not ideal for that that might be fetched back often (configs, indices)
  • Standard-IA charges for a min of 30 days; if you KNOW the file version will be replaced before that, it can be cheaper.

Glacier is similar, but 90 days, minimum charged size 1MB, (they might have done away with it entirely, documentation is inconsistent), 32KB overhead (up from the normal 8KB overhead).

robbat2 avatar Oct 29 '17 04:10 robbat2

This issue has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/feature-request-support-s3-standard-infrequent-access-storage-class/4906/1

gilbertchen avatar Feb 26 '21 14:02 gilbertchen