Backup audit data
#2841
|
The Backup section of the README explains how to backup the channels states with eclair.sqlite.bak. When not using PostgreSQL, what do you recommend to backup also accounting data such as the ones returned with the audit API call? I guess this information is stored in audit sqlite files but I've not found any recommandation comparable to the .bak file and was wondering how to ensure data consistency with these files. |
Answered by
t-bast
Mar 26, 2024
Replies: 1 comment 1 reply
|
There is no support for doing this with sqlite. The information in that DB isn't critical for node operation, and can thus be backed up "outside" of eclair (with no consistency guarantees). If you want strong consistency guarantees for that DB, you should probably be using postgres. |
1 reply
Answer selected by
pgrange
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no support for doing this with sqlite. The information in that DB isn't critical for node operation, and can thus be backed up "outside" of eclair (with no consistency guarantees). If you want strong consistency guarantees for that DB, you should probably be using postgres.