If our data is deleted from Firebase then how can we restore data from Firebase to our app.
Read the below point to know how can we restore Firebase deleted data.
If you are a blaze plan user, you have the option to set up automated backups for your database.
However, seeing that you are asking this question I doubt that you have those available: AFAIK, there is no way of restoring deleted data apart from restoring a backup since the related data has been removed from the database.
There are great concepts and options for database backups as well as database auditing / versioning out there, I recommend looking into that to prevent further incidents.
As you pointed out, you did specify 'not the whole database'. However, you could download the backup and extract the specific data yourself, manually adding it back to the database. The backups are stored on a google cloud storage bucket in an easily readable JSON format.
Thanks!
Note: This was originally written at Stackoverflow,you can view this Page anytime.
Thx!
ReplyDelete