plakar
plakar copied to clipboard
cold storage
investigate a cold storage connector to implement as part of our first beta
being derisked by @brmzkw
- to host files to Glacier and have an acceptable retention policy (ie. "cold storage", that can't be removed), you need to enable the "object lock" (which requires to setup the multi-version object), and the policy can be set to "governance" or "compliance"
- to store files to Glacier with PutObject, you need to specify minio.PutObjectOptions{StorageClass: "GLACIER"} in the last parameter. Other storage classes are available (depending on how quickly you want the data to be retriavable)
- when the repository is created and files are stored to Glacier, the backup fails because CONFIG can't be read
- if you either 1/ change the storage class of CONFIG to store it to s3 or 2/ perform a retrieval of the CONFIG file to make it readable, then backups to glacier work well 🙂
once @mathieu-plak 's solution to #90 gets in, we can work on making states "generational" and we can finish a working version of this.
- GLACIER implemented (working with GLACIER and DEEP_ARCHIVE) for "fake" cold storage
- platar file format defined and in progress for tape storage