Closed SutonToch closed 4 weeks ago
Having a backup for data security is important, especially since I've deleted my data by accident multiple times during development now.
Firebase provides a native way to backup data, but you have to pay for it.. so I have to do it myself via importing/exporting a file.
My first idea would be to use JSON.stringify() and JSON.parse() + the 'download' attribute from an element.
Edit: turns out, it's not that straightforward
Having a backup for data security is important, especially since I've deleted my data by accident multiple times during development now.
Firebase provides a native way to backup data, but you have to pay for it.. so I have to do it myself via importing/exporting a file.