dump local db with command