key-networks / ztncui

ZeroTier network controller UI
GNU General Public License v3.0
1.53k stars 228 forks source link

Backup and restore #43

Closed schmerold closed 3 years ago

schmerold commented 3 years ago

How do I backup and restore ztncui?

If I rsync ServerA:/opt/key-networks/ztncui ServerB:/opt/key-networks/ztncui

Does this create a live backup on ServerB?

flantel commented 3 years ago

On Sun 25 Oct 2020, 01:14 schmerold, notifications@github.com wrote:

How do I backup and restore ztncui?

If I rsync ServerA:/opt/key-networks/ztncui ServerB:/opt/key-networks/ztncui

Does this create a live backup on ServerB?

That's would back up the GUI only. You would also need /var/lib/zerotier/ and ServerB would need zerotier itself installed.

/var/lib/zerotier is where the important stuff is.

key-networks commented 3 years ago

You can get some clues here: https://github.com/key-networks/ztncui-containerized#copy-volumes-to-another-docker-host

schmerold commented 3 years ago

My controller used /var/lib/zerotier-one instead of /var/lib/zerotier

Thank you so much for your help.