On 12 Sep 2016, at 06:06, s7r s7r@sky-ip.org wrote:
Hello,
Thanks for running exits!
Pay attention that each instance has its own datadirectory, this means you need to have multiple 'keys' subdirectories depending on the number of your instances. Usually /var/lib/tor should contain some subfolders like 1, 2 or instance1, instance2, whatever and each containing another subfolder with the related keys for each instance.
In Debian, using tor-instance-create and systemd, there is a separate directory, /var/lib/tor-instances You'll need to copy both /var/lib/tor and /var/lib/tor-instances to preserve the keys, and /etc/tor to preserve the configs.
That said, please consider rotating keys when you move (that is, only copying /etc/tor).
If your old relay or those keys were ever compromised, you'll have a fresh start. And even if it wasn't, some of your network reputation will be reset when you move IP addresses anyway.
Tim
So you need to make sure you backup and move the keys for all instances. There's no problem if you copy the entire directory, as long as the keys are there, Tor will just overwrite the expired cached/consensus data.
On 9/11/2016 4:08 PM, pa011 wrote:
I have to move a multiple instances Exit from one VPS to another.
Apart from creating the same instances on the new machine with **tor-instance-create** I would then just copy the whole directory /var/lib/tor/keys to the new VPS - or should I copy all /var/lib/tor/ to not miss anything from the original one?
Am I miss anything else?
Thanks
Paul
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B ricochet:ekmygaiu4rzgsk6n xmpp: teor at torproject dot org