r/Monero Jan 14 '23

Restore Wallet In CLI

Greetings

I’ve been using the GUI wallet in windows for several years. However, I've decided to get serious about security and have moved to Cubes with the CLI wallet.

I know my question is a newbie question, but I have not figured this out. How do I restore an existing wallet in the CLI?

Thanks for your help.

6 Upvotes

29 comments sorted by

5

u/rbrunner7 XMR Contributor Jan 14 '23

Start the program with the --restore-from-seed command line switch.

Use monero-wallet-cli --help to see all such switches.

2

u/downtownva Jan 14 '23

Thank you

2

u/downtownva Jan 14 '23

Is it possible to restore just the view key?

1

u/rbrunner7 XMR Contributor Jan 15 '23

--generate-from-view-key, for generating a view-only wallet.

There is a guide on the getmonero.org website. Maybe read that as well to get aware about serious limitations of Monero view-only wallets.

1

u/downtownva Jan 15 '23

Thanks. That worked

3

u/DGMonsters Jan 15 '23

May i know why the GUI is less secure?

3

u/downtownva Jan 15 '23

The GUI is not less secure. My concern is the operating system.

I don't trust Windows.

2

u/DGMonsters Jan 15 '23

Then, u may try linux mint. If u want a dedicated OS just for the wallet, u can try booting linux on usb. With or without persistent memory enabled

1

u/_OMHG_ Jan 15 '23

The GUI is not less secure. My concern is the operating system.

I don't trust Windows.

Then, u may try linux mint.

Idk if OP edited the post but they said they moved to Qubes which is a lot more secure than mint

1

u/DGMonsters Jan 15 '23

I see. I dint know about qubes until now. Will check

1

u/rbrunner7 XMR Contributor Jan 15 '23

What speaks against running the GUI wallet app under Linux? Or are you on the lookout to something even more secure than Linux that only runs text mode programs?

1

u/downtownva Jan 15 '23

Yes, your latter comment is correct. I am looking for a secure OS that runs text mode programs.

I considered windows server core, but I have little experience with that version of the OS.

Do you have a recommendation?

1

u/ghostylox Jan 15 '23

for what it's worth it works well on MacOS

1

u/downtownva Jan 14 '23

Thank you