Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export full database over network #18

Open
mleku opened this issue Feb 11, 2024 · 0 comments
Open

export full database over network #18

mleku opened this issue Feb 11, 2024 · 0 comments
Assignees

Comments

@mleku
Copy link
Collaborator

mleku commented Feb 11, 2024

it is already quite simple to feed a collection of events to a relay, half of the code already exists in the export/import and ingestr but to cleanly pull the entire database over the network while hot will be an important disaster prevention feature

the owners prescribed in the relay configuration will be able to send a request with an empty filter that will return every event in the database

a small tool that sends such requests and receives the results and optionally writes to .jsonl file, and can also read a .jsonl file and push all of the events in it to the relay while it is live, in both directions using the owner authentication to permit this backup/restore functionality

this is not high priority but should be completed for MS3

@mleku mleku self-assigned this Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant