~/.raiden and be backed up the same way. Not sure if events are available.xud.db, xud.conf, lnd.conf, raiden conf, /root/.xud/tor (xud container)Anything I forgot?
As discussed I think that this should be not part of XUD by default. What would be best in my opinion is to put this functionality in a separate executable and folder in lib so that it can still reuse the config parsing and LND clients that already exist without bloating the code base too much.
Other options would be:
@kilrau @sangaman @erkarl
You're thinking of a new script that can be run separately from xud, but still reuses some of our existing code like the LndClient? How would it be run?
separate executable and folder in
lib
SGTM, could you quickly explain how it works and be triggered by xud before you go ahead and do it?
A new file bin/xud-backup that can be executed if the user wants to have these backups. If not the users just ignores that file and doesn't get bothered.
Moved to 1.0.0-beta, we'll bring it as an (important) update to testnet.
EDIT: added xud db
Most helpful comment
A new file
bin/xud-backupthat can be executed if the user wants to have these backups. If not the users just ignores that file and doesn't get bothered.