generate dbconfig config file