KuriRobot / Kuri-Documentation

Documentation for Kuri the adorable home robot.
MIT License
17 stars 13 forks source link

Deleted /mayfield/data/user #36

Closed amalnanavati closed 4 years ago

amalnanavati commented 4 years ago

I realized today that all the contents of /mayfield/data/user got deleted. I am not sure how they could have gotten deleted. The only possible causes I can think of are:

  1. My Kuri did crash today while catkin building a library, and I had to force shut it down.
  2. Independently, I ended up forcibly turning my Kuri off multiple times today (with the power button on the bottom) while it was running its shutdown routine.

The other possibly-relevant finding is that I had a USB drive attached to the Kuri, which got completely corrupted for unknown reasons.

Anyway, I do have access to another Kuri with a populated /mayfield/data/user directory. I have considered copying the files over, but before that I wanted to check: are all the files in that directory generic to all Kuri's, or are there Kuri-specific files (unique IDs and such)? If there are Kuri-specific files, could you point me towards which files I should modify, and how, to effectively re-populate the /mayfield/data/user on the deleted Kuri?

(Also, if you have ideas as to why the directory got deleted in the first place, that would be useful so that it doesn't happen again.)

amalnanavati commented 4 years ago

Never mind, it seems like the Kuri automatically restored these files on startup. I'm not sure what happened to delete these files, but they are there now :)

amalnanavati commented 4 years ago

By the way, @po1 or others, if you could point me to where the backup data is stored (the data that gets copied to /mayfield/data/user if that directory gets deleted/corrupted) and how to access it, that would be useful. Thanks!

po1 commented 4 years ago

There is no backup. What I believe happened: