Since I am running my own relay, I want to back up my notes to it. Is there a command line tool that I can run from Cron, I give it an npub, source and destination relay and it would synchronize all posts from one to the other?
Discussion
I think you can use nak in some way to achieve that
Thanks, that's what I thought. I scripted it, and published with some other useful scripts that I use.
https://github.com/jooray/nostr-scripts
Also using a cool new license thanks to nostr:nprofile1qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgwwaehxw309ahx7uewd3hkctcpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpr4mhxue69uhkummnw3ezumt4w35ku7thv9kxcet59e3k7mf0qqst0mtgkp3du662ztj3l4fgts0purksu5fgek5n4vgmg9gt2hkn9lqmmyzrg
Strfry lets you synchronize relays but I’m not sure if it can be done on npub level
Cool, thank you, I use nostr-rs-relay, so this is not for me, but good to know and I read about how it does it and it looks pretty cool.
It is a web app not a cli tool, but it can pretty much do what you want. https://nostrsync.live/
Thank you. I need something to run from cron, so I wrote it:
https://github.com/jooray/nostr-scripts
But nostrsync is epic, I am just trying it out, for wide distribution of notes it is much better.