HandyOSS / HandyHost

Host DVPN/HNS, Sia and Akash all in one UI.
https://handyhost.computer
GNU Lesser General Public License v2.1
102 stars 16 forks source link

Migrate Sentinel DVPN user data from one host to another #79

Open esaumell opened 2 years ago

esaumell commented 2 years ago

ATTENTION: This guide is a work in progress. It's not fully tested and may break things. You have been warned.

Setup a fresh new HandyHost and ssh into it.

Get root with sudo -i

Stop HandyHost service handyhost stop

Just in case we need to revert changes, we are going to backup the brand new installed files.

mv /root/.sentinelnode /root/.sentinelnode.fresh
mv /root/.HandyHost/sentinelData /root/.HandyHost/sentinelData.fresh

Copy this file from the old host to the fresh new one: /root/.handy/dvpn

Copy these directories from the old host to the fresh new one: /root/.sentinelnode /root/.HandyHost/sentinelData

Start HandyHost service handyhost start

Point your browser to https://localhost:58008/ and setup a password for HandyHost. Go to https://localhost:58008/dvpn.html and verify that the node have your old host configuration. All the settings and your wallet should be the same.

You can now start your DVPN node.