-

@ fiatjaf
2025-02-25 13:11:17
You can always fetch the events from one relay then publish to the other relay.
~> nak req sourcerelayurl | nak event targetrelayurl
But there is also https://github.com/fiatjaf/eventstore/tree/master/cmd/eventstore which operates on the databases directly and doesn't have an inherent query limit. Install it with
~> go install github.com/fiatjaf/eventstore/cmd/eventstore@latest
then do something like
~> eventstore -d sourcedbdirpath -t badger query '{}' | eventstore -d targetdbpath -t sqlite save
I'm not 100%, but I think it will work.