recovery db.js