-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: repo-hot is not a hot repository! Aborting. #978
Comments
Could it be that at |
No, only the buckets were created in advance.
|
Seem like this is a wrong error message introduced by the refactoring into rustic_core. Can you check if the command |
fn open_raw(mut self, key: Key, config: ConfigFile) -> RusticResult<Repository<P, OpenStatus>> {
match (config.is_hot == Some(true), self.be_hot.is_some()) {
(true, false) => return Err(RepositoryErrorKind::HotRepositoryFlagMissing.into()),
(false, true) => return Err(RepositoryErrorKind::IsNotHotRepository.into()),
_ => {}
} Hmm, it may be that the bug happens before in the assignment logic? Something related to |
Happy new year! Appreciate your engagement. I can confirm that |
@simonsan For the design of the rustic_core API and to introduce the This repository-opening after initialization is actually not needed for for the plain |
Hi,
I tried using the hot/cold pattern with scaleway. For scaleway you cannot predefine the storage class for a bucket, so you have to set it in your rclone config as follows:
When running init with rustic v0.6.1 it throws error: repo-hot is not a hot repository! Aborting.
Despite the error message both repositories appear to have been initialized correctly and can be used with
rustic backup
.The text was updated successfully, but these errors were encountered: