View Single Post
Old 07-29-2012, 05:08 AM   #700
Mono
Mono
Mono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blueMono can differentiate black from dark navy blue
 
Mono's Avatar
 
Posts: 699
Karma: 13333
Join Date: Jan 2012
Device: Boox M92
Quote:
Originally Posted by janek View Post
I have a question. I stored all the user space databases before updating (the whole /root/ directory, that is).

Now please tell me what happens if i simply overwrite the new /root/ directory with the old one? Beside my own case, if simply overwriting the root directory is safe, it should be trivial to write a backup script to backup all user settings to sd card and then recreate them after update.
Well, I don't know the answer, but I can imagine the cases when this aproach would not work. For example, if the database structure changes. The table is added, the content of "system" table is altered or the table columns added... It may easily happen time from time and there must be a mechanism to transfer databases from older format to newer one.

Probably only programmers would know, if and when it is possible.

But generaly it is very good idea to make backups of user databases. If something fails, there is something to allow to restore many (easily 1000+) hours of work.

So, I would also like to know the answer to your question. And mainly have the working backup solution of all user data in partition(s) not accessible for general user. The best would be if Onyx makes it. They know what and where is user data and possible structure/content changes in it.
Mono is offline   Reply With Quote