plakar icon indicating copy to clipboard operation
plakar copied to clipboard

cold storage

Open poolpOrg opened this issue 11 months ago • 3 comments

investigate a cold storage connector to implement as part of our first beta

poolpOrg avatar Jan 09 '25 08:01 poolpOrg

being derisked by @brmzkw

poolpOrg avatar Jan 14 '25 12:01 poolpOrg

  • 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 🙂

brmzkw avatar Jan 14 '25 13:01 brmzkw

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.

poolpOrg avatar Jan 29 '25 07:01 poolpOrg

  • GLACIER implemented (working with GLACIER and DEEP_ARCHIVE) for "fake" cold storage
  • platar file format defined and in progress for tape storage

poolpOrg avatar Apr 10 '25 08:04 poolpOrg