Add Export/Import Keys functionality
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).
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.
For now, you can zip
/opt/outlineon your old server andunzipit 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.