The Astros have acquired reliever Yimi Garcia from the Marlins for two players.