Ok that works! Now how do I get Damus, Nostrudel or some other client to push all my historical messages to the relay for backup purposes?
Sjors Provoost
sjors@sprovoost.nl
And I can see a large amount of my own messages made it onto my relay:
nostr.sprovoost.nl - Nostr Relay · njump.me/r/nostr.sprovoost.nlnostr.sprovoost.nl - Nostr RelayRelay where I can talk to you, but you can't talk to me :-)I'm trying to do the same thing, but nostrsync doesn't republish to my relay, only to some well-known ones. Did you somehow import the downloaded js file into the relay through command line or something?
I whitelisted my own npub, and enabled bip42 authoritization. I added that relay to my profile. Then I tried just posting a message, which showed up on the relay. After that I tried nostrsync. No manual upload involved.
Ok, I too enabled nip42 (though a finite monetary supply for bitcoin is nice too, and it's already enabled on my bitcoin node). I think I've done it exactly like you. Maybe your relay was already a well-known one while mine wasn't? Not sure how it selects relays for publishing.
Have a look at - github.com/jooray/nostr-scripts
You configure the backup script with your server address and it sync your notes there.
Thanks for this! nostr-scripts really helped me. It also had me discover the great nostr army knife by @fiatjaf : github.com/fiatjaf/nak
`nak req` has recently added the `--paginate` and related flags that should, if I understand them correctly, remove the need for these scripts. The README has some examples.
I spun it up about an hour before.
