The Brewers were up 5-0 going into the bottom of the ninth when the Diamondbacks jumped on Milwaukee relievers Guillermo Mota, Brian Shouse and Salomon Torres -- who gave up all six runs without recording an out. Chad Tracy delivered a pinch-hit three-run triple for the D'Backs.
Leo Rosales (1-0) pitched a scoreless inning in relief to get the win for Arizona, which came into the game with just two wins in its last eight games.
Torres (4-2) finished with a loss and a blown save -- and Brewers' starter Manny Parra saw a strong effort go down the drain. Parra held Arizona to four hits in six innings, with three walks with four strikeouts.
J.J. Hardy had four hits, including a home run, and Mike Cameron homered for the Brewers, who lost for the fifth time in eight games.