Add wss://hist.nostr.land to your relay set. It will automically back up your profile and follows whenever there’s a change.
When you need to do a restore, go to hist.nostr.land on a web browser and choose which backup you want to restore.
I like this method because the auto backups are done for you in the background