Looking back through the bash_history I found that it was I who actually nuked the database :/ I was testnig softhsm2 and set an exported SOFTHSM2_CONF but then ran the softhsm v1 command to init the db, which ignored SOFTHSM2_CONF and nuked my real db (after I confirmed it should do so) Paul