Database creation and dump