script, that dumps db