A utility script for dumping or modifying the contents of an HWRF sqlite3 database file.
More...
A utility script for dumping or modifying the contents of an HWRF sqlite3 database file.
This script can perform one of several operations on an sqlite3 file generated by the HWRF system. It is called as follows:
1 hwrf_datastore.py OP [ARG] file1.sqlite3 [file2.sqlite3 [...]]
Valid operations (OP) are:
- DUMP — dump entire database to stdout
- UNFAIL — mark all failed or running tasks as unstarted
- UNRUN — mark all tasks as unstarted
- UNRUN_ONE taskname — unrun the specified task. Only UNRUN_ONE takes an argument, and that argument is mandatory: the task to "unrun". The argument is the task id, which is everything in the id after the s:: in the output of a call to hwrf_datastore.py DUMP.