-
Notifications
You must be signed in to change notification settings - Fork 56
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
Don't re-initialize an already initialized repository without user interaction #1141
Comments
@jfreax I tried to reproduce this behavior, but rustic always complained that the config file already exists and doesn't initialize the repository. |
I wish I could. I'm not 100% sure what I did. What I know is, that my original setup was with a hot and cold repository, but my new tests (which overwrote the config) was only using a "normal" (hot) repo without a cold repo configuration. I will try to reproduce it. |
Unfortunately, I wasn't able to reproduce the behaviour. The
|
@jfreax I can only imagine that for some reason your backend told there was no config file. But it's hard to guess - and from the code I cannot see where something could go wrong elsewhere... |
closing this as the behavior cannot be reproduced. @jfreax If you encounter the same problem, please don't hesitate to re-open! |
Hi everybody,
I tested out some new rustic configuration (a new profile file) and mistakenly re-init one of my already used repos (copy & paste errors are saying "hi!"). This repo is actually only the hot repo (there is also a cold one, which is not affected).
First thing first: Why is it possible to simply re-init a repo without any warnings? It will create (at least) a new key (the old one was still there in my case (S3)) and overwrites the config file. Some kind of fail-safe for future dump-asses like me would be great :)
Originally posted by @jfreax in #1140
The text was updated successfully, but these errors were encountered: