flxn / tor-relay-configurator

The tor-relay.co configurator
https://tor-relay.co/
MIT License
52 stars 15 forks source link

Backup -> Restore #19

Closed koljasagorski closed 4 years ago

koljasagorski commented 4 years ago

How can I restore my tor-relay? I have the fingerprint and the secret_id_key

Thanks for your help!

flxn commented 4 years ago

If you backed up the keys of your node (by default stored in /var/lib/tor/keys) you can stop Tor, overwrite those files with your backup and start Tor again and it should just work.
Make sure that the keys directory has the right permissions. You can run chown debian-tor /var/lib/tor/keys after copying to make sure the Tor user owns the directory. Look at the log file for any errors that may occur, most of the time they are quite helpful.

koljasagorski commented 4 years ago

Yeah I forgot the permissions. Now it works. Thanks.