Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
This is a draft message, edit and submit it to make it permanent  
Message ID: 3289     Entry time: 05 Nov 2026
Author: Konstantin Olchanski 
Topic: Bug Fix 
Subject: ODB rm -rf / 
after midas crash and odb corruption, midas and odbedit now automatically repair all (yea, right!) structural corruption - fix the free list, fix/remove invalid subdirectories and data entries, etc.

with this, midas user should be able to reload odb from a backup json or xml file without having to delete and recreate the whole database.

but sometimes odb corruption is too confusing or too corrupted and a backup file will not load cleanly.

in this case, delete previous odb contents using the "rm" command (then say "y" to delete all keys, this is the equivalent of unix "rm -rf /").

this will delete all odb contents except some for some entries in /system, /experiment, /alarms, /logger and /runinfo. some of these entries are delete-protected, some 
ELOG V3.1.6-083448f7