Change of Password #1244
-
Hi, I went through most of the documentation on this link - https://rustic.cli.rs/docs/intro.html and also most of the help section of the cli but, I can't seem to find the option that lets me change the password of my repo (I remember the original one, I just want to change to something better). It's possible I overlooked something, so please guide me in the right direction |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @Eloquencere So far, there is no TL;DR: To change the password, you should run:
|
Beta Was this translation helpful? Give feedback.
-
Got it! Thanks a lot @aawsome I see that there is a repo 'init' command but no 'uninit' (if you will). Say I've setup a repo as my backup but, I don't want to use that folder any more for that purpose, how can I un-register it from rustic? is the process just as simple as running - rm repo-bkp/ ? also, from the documentation I see the format for setting the password file in the config file is something as follows What should the file format be? And is it just as simple as typing "password" as the first line in the file, also clarify if the quotes are needed |
Beta Was this translation helpful? Give feedback.
-
Great! Thanks a lot for taking the time Loved your answers @aawsome |
Beta Was this translation helpful? Give feedback.
Hi @Eloquencere
You can add a new key (with a new password) by using
rustic key add
.So far, there is no
key remove
command. To remove an old key, you have to do this manually in the backend. Just remove the file under/keys/
.TL;DR: To change the password, you should run:
rustic list keys
rustic add key
rustic list keys
list keys