Berlin (AFP) – Holders Bayern Munich reached the third round of the German Cup with a 3-1 win over Augsburg on Wednesday while second-division Union Berlin took injury-hit Borussia Dortmund to penalties.

Goals by Philipp Lahm, Julian Green and David Alaba sealed Bayern’s win at the Allianz Arena, while Borussia, last season’s finalists, endured nervous moments before beating Union 3-0 in a shoot-out after it finished 1-1 in Dortmund. 

In Munich, Bayern coach Carlo Ancelotti rested a host of stars for Saturday’s away Bundesliga clash — also against Augsburg — and next Tuesday’s Champions League clash at PSV Eindhoven.

Alaba, Holger Badstuber, Arjen Robben, Arturo Vidal, Xabi Alonso and Robert Lewandowski were all on the bench while US striker Green made a rare start.

Bayern went ahead with two minutes gone when Thomas Mueller fed Lahm and the Bayern captain drilled home his shot.

Mueller then floated in the cross which Green headed home to make it 2-0 on 41 minutes.

Bayern defender Mats Hummels conceded a penalty on Augsburg midfielder Gojko Kacar, but Manuel Neuer came to the rescue when Germany’s goalkeeper saved Koo Ja-Cheol’s spot kick on 49 minutes.

Augsburg pulled a goal back on the counter attack when Ji Dong-Won cut in and blasted his shot home from a tight angle on 69 minutes.

But Alaba came on with five minutes to go and rifled home Bayern’s third in the 94th minute to settle the result.

Dortmund, missing a host of injured stars like Pierre-Emerick Aubameyang and Marco Reus, went through after a scare.

Dortmund took the lead thanks to a first-half own goal from ex-Dortmund defender Michael Parensen, but Union striker Steven Skrzybski levelled with nine minutes left

Goalkeeper Roman Weidenfeller was Dortmund’s hero with two saves in the shoot-out, while Ousmane Dembele, Matthias Ginter and Mario Goetze netted their spot-kicks.

Schalke scrapped into the third round with a nervy 3-2 win over second-division Nuremberg.

Ukraine winger Yevhen Konoplyanka scored twice as the Royal Blues raced into a 3-0 half-time lead.

But Ghana defender Abdul Rahman Baba, on loan from Chelsea netted an own goal, then Tobias Kempe converted a penalty for Nuremberg to set up a tense final 20 minutes.

Cologne beat Hoffenheim 2-1 as Anthony Modeste, the Bundesliga’s top scorer, netted a 91st-winner in extra time as Hoffenheim suffered their first defeat of the season.

There were several upsets elsewhere.

Bundesliga club Darmstadt were humbled 1-0 by fourth division Astoria Walldorf while second division Greuther Fuerth sealed a 2-1 win over top-tier side Mainz.

In total, seven top German league clubs exited at the second-round stage.

On Tuesday, Champions League side Bayer Leverkusen lost on penalties to third-division Sportfreunde Lotte which leaves head coach Roger Schmidt under pressure.

Freiburg were beaten by second-division Sandhausen and Eintracht Frankfurt beat Ingolstadt on penalties in an all-Bundesliga clash.