Rovers, who made nine changes from Saturday’s 1-0 loss to Swindon Town, rekindled their useful habit of scoring late goals when Adam Long got the final touch to send the ball over the line for the winner with just six minutes left on the clock.
Kyle Hurst had earlier got Doncaster level with a super strike from the edge of the box after Lincoln took the lead through Charles Vernam's close-range header shortly after the half-time interval.
The win snaps a three-game losing streak for Gary McSheffrey's side and puts them top of the table in Group E with one game left to play.
Scroll down for our player ratings.

9. Harrison Biggins - 7
Combative display in the centre of midfield. Is at his best when he does the basics well, which he was pretty good at tonight. Photo: HOWARD ROE, Howard Roe/AHPIX LTD

10. Aidan Barlow - 6
Produced little of note going forward until first-half stoppage time when his deep cross found Luke Molyneux for a chance at goal. Worked hard to help Rovers maintain their defensive shape in the first period. Photo: Andrew Roe/AHPIX LTD

11. Luke Molyneux - 6
Involved in both goals, to his credit, and is clearly a dead-ball specialist. Should have made it 3-1 from close range late on, however. Photo: Andrew Roe/AHPIX LTD

12. Kieran Agard - 6
Should have scored when Ravenhill's tackle put him through on goal but gave Lincoln's defence something to think about all night and was heavily involved in the winner. Photo: Andrew Roe/AHPIX LTD


