Sugar DS reader for backup analysis
Datastore is a simple tool written to parse sugar metadata files from backuped XO archives in a given folder.
To install the datastore_reader lib, you need python and easy_install tool. Just in case, you can download the easy_install init script here:
… and install it:
$ python ez_setup.py
You should now be able to easy_install the datastore_reader as follow:
$ easy_install datastore_reader
The first datastore_reader entry point is called
moulinette. It extract and
parse metadata from backups to csv files.
By default, archives should be in a sub-folder named
data in the current
./data ./data/archive-1.tar.bz2 ./data/archive-2.tar.bz2 ./data/archive-3.tar.bz2 ...
All archives should have the .tar.bz2 extension. Here is the command to trigger the first reader application:
At the end, you should find 2 new folders in the data floder:
tmp sub-folder we have the extracted files from the parsing process.
All files are re-extracted each time and the tmp folder can be removed after.
out folder we find the .csv results of the moulinette script.