Local Provider, App Data, ect

Had a few questions about the local Provider and the app data.

  1. let’s say i have a file named (x), and i delete it, would i regain the data again if i get a different file with the same name? do i need to back up first & restore after?

  2. so all my files are in a certain big folder, if i move my files to a new folder, would i lose my app data?

  3. what are the things not to do to not lose the app data? because recently i batch renamed all my files and lost all the data i had which was unfortunate, so i want to be as secure as possible. i would highly be appreciated.

and sorry if my questions were obvious :folded_hands:t4:

For local provider the key is the filepath.

So if you rename or move the file the data is lost.

You can backup the data, edit the user_data.json with search and replace and restore the data if you move all to another folder.