It was the third shutout of the season for Miller and the 20th of his eight-year career, all of it spent with the Sabres. His career-best, single-season shutout total is five.
The Sharks were held without a goal for the sixth time this year and for the second time in six games. San Jose has dropped two straight.
Antero Niittymaki allowed all three goals on 22 shots.
N.J. man wakes up from 10-hour sleep with knife in back
Exploding whale video goes viral on Internet