outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Add Export/Import Keys functionality

Open yakovmanshin opened this issue 7 years ago • 2 comments

Last Fall, one of my cloud servers failed (Outline-unrelated). When it happened, all keys stopped working, and once I launched a new server, I had to re-create all keys and manually distribute them to users.

It’d nice to be able to batch-export Outline keys for migration or backup purposes, and import them to another instance of Outline, so users would continue using the same keys (given that they use domain names instead of IP addresses (#119), or the IP address is static).

yakovmanshin avatar Jan 21 '19 08:01 yakovmanshin

For now, you can zip /opt/outline on your old server and unzip it in /opton your new server. At least it worked for me.

alashow avatar Jan 29 '19 18:01 alashow

For now, you can zip /opt/outline on your old server and unzip it in /opton your new server. At least it worked for me.

This is the correct answer. Access key file at /opt/outline/persisted-state/shadowbox_config.json You just need to save this file to save all keys.

subutay avatar Mar 31 '20 13:03 subutay