Minio as cold storage provider - InvalidStorageClass #1406
-
Hey there! I am trying to test a cold storage setup locally with minio, with the following rustic.toml config: [repository]
repository = "opendal:s3"
repo-hot = "/persisted/rustic/repo_hot"
password = "your_encryption_password_here"
cache-dir = "/persisted/rustic/cache"
# options only for hot part
[repository.options-hot]
# options only cold part
[repository.options-cold]
bucket = "test-2"
root = "/backups"
# currently only default_storage_class = "STANDARD" works
default_storage_class = "DEEP_ARCHIVE"
endpoint = "http://minio:9000"
access_key_id = "rustic-user"
secret_access_key = "rustic-password"
region = "us-east-1" This is quite obvious, as minio is not a cold storage provider. Would be very grateful for insights on the topic, as I have a storage provider that provides me cold storage on top of minio. I reckon they provide the minio |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In the case of a cold repo, rustic will not read the data from the cold repository for most operations (like So, yes, in your case using standard storage class and configure ILM to automatically "freeze" everything and configuring a |
Beta Was this translation helpful? Give feedback.
In the case of a cold repo, rustic will not read the data from the cold repository for most operations (like
backup
,forget
,snapshots
,ls
) - but will create or delete new objects. Only for operations likerestore
,dump
it will try to warm-up the needed files (e.g. usingwarm-up-command
) after which it normally reads them.So, yes, in your case using standard storage class and configure ILM to automatically "freeze" everything and configuring a
warm-up-command
which callsilm restore
could be the way to go!