Are there any backup methods for nostr yet or if something happens it’s over for you? I’d love to learn about any best practices or experimental solutions

Reply to this note

Please Login to reply.

Discussion

Run Nostr on your own #[2]​ server.

How does that create a backup?

It automatically backs up all your notes and events.

I just tried today, but for desktop I am using #[6] and it doesn't sync. Damus on my phone syncs, though.

Exactly. Thanks.

You basically add your computer as a relay and Umbel’s app automatically backup the information and syncs it.

You can look at it as your personal iCloud.

on iris.to you can backup followers/follows at least

Backup or restore?

Backup, I imagine restore is a very different situation

#[3]​ is offering backups

Iris has both backup and restore:

https://github.com/irislib/faq#backups-and-restore

Baller: can I restore a backup from this npub to a new npub?

It’d be nice if it didn’t set my phone on fire though.

I there is a service run by #[2]​ that helps you back up your data, so that you can have a copy. But I don’t think there is some workaround if you delete your nostr account. It’s gone πŸ˜…

You can register for my auto backup service, it's free. There is also manual mode

https://nostryfied.online/

Cool! Does it also backup following/follower npubs?

Users just need to submit their public key once, and the service will automatically back up all events daily, such as notes, reactions, and lists of followers and those being followed.

The backups will be fetched & broadcast to all connected relays and major public relays to keep your events up-to-date and backup files will also be stored in the cloud.

The service also includes a feature to restore these backup files to any relay.

It will be like this #[6] , you can check

Very cool!! I’ll take a deeper look later πŸ₯‚ Well done. So if I backup, one day lose access to my current account… I could re-implement my content?

Date Backup files will be created, and stored in the cloud I share the link every day on this #[6] and can be restored to any relay

Not just that It also broadcast your up-to-date data to 150 major relays. So it's very unlikely you will lose any data.

Btw the Blue button is for manual one-time backups & black is for auto-backups daily.

You just have to submit your public key once. That's it

*data

#[2]

Is the backup E2E encrypted?

All that data is public your notes, follow/following, every reactions are public, anyone can get it with a JavaScript code & your public key, only your text messages are encrypted on protocol level so they will remain Encrypted but I still store everything on E2E Encrypted storage, it's unnecessary but why not.

Cool. But isn’t all the public notes, reactions stored on relays anyways, if the relays continue to exist, you really don’t need a backup solution or am I

missing something?

This is extra layer of security no matter whatever happened to your current relays or you changed all your relays and you lost your data. It can fetch all your data from those relays and broadcast that to 150 Relays in seconds and also create backup file which can be restored to any relay of your choice.

Once you downloaded the data, how do you restore it if needed?

Right now you have to text my nostryfied account, later I will integrate that feature in dashboard but yeah you can do that right now and also if you register for auto backups we will also store your backups so you don't have to worry about that, it's in beta right now, it's just a week old πŸ˜…

Oh 😁

& I think we're bothering #[3] with notifications, very very sorry Alana πŸ‘Έ

Not at all, the dialogue adds value and helps everyone learn. Myself included 🫢

Awww, that's nice, when I say alana is different, I mean it πŸ€πŸ•ŠοΈ

Good questions.

Any tips to prevent dummies from posting their private keys would be appreciated 🀣

My advice: don’t

πŸ˜‚πŸ«‘πŸ«Ά

There aren't any if you lose your nsec if you're referring to losing control of your account

That’s not what I’m talking about, I mean for your content as well as following/follower npub list

Your NPUB is public by being public anyone has public access to your history. DM’s as well.

No one can view my DMs via public key

Oh I see. In that case Nostrgram keeps your history of follow list. You can restore from there. Everything else you can broadcast to different relays for backup so that if one goes down you can sync from others.

I think that’s for if a glitch causes you to unfollow or lose followers. You’d have to be able to download the following/follower list to really restore to a new npub should you lose access to the existing one as you can’t force the refollow

It happened to me. All the follow count went to zero and I used Nostrgram to recover everything

Interesting!! Ty!

You're welcome 😊

Nostrgram has a download content feature that I think would let you rebroadcast your stuff if shit hit the fan

Gotta go old school and paper wallet the NSEC!

That’s what I use the Umbrel relay app for. I stay connected to it and all of my events get published to it. So at least if something happened and somehow every other relay lost my events, that one would still have them.

what client are you using on desktop? I cannot sync it with iris

I use snort when I’m in desktop. Works well for me

If you haven't set up your own personal relay yet, you can do that and store your content going forward both umbrel and embassy are offering an easy-to-install relay app

https://thebitcoinmanual.com/articles/run-private-nostr-relay/

If you want to archive your data from public relays or paid relays you can use this

https://github.com/patrkris/migstr

But there is a request on Damus to allow for exports

https://github.com/damus-io/damus/issues/527

I’m working on setting up a strfry relay on a Linode server to continuously back up my notes. The easiest way is to just send a raw protocol request to a relay and store the JSON of your events in a file. Takes maybe a few minutes if you include the time to install the tools.