Rovers will head to Preston North End in the third round of the Emirates FA Cup.
The tie will be played at Deepdale during the first weekend in January.
Rovers secured their place in the third round after coming through a first round tie against Chorley then a second round clash with Charlton Athletic.