only restore db if db is not present