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
Discussion
Run Nostr on your own #[2]β server.
How does that create a backup?
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:
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
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.
Ok. π€
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 π
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
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.
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
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.