Overall, I think Donphan outclasses Forretress as in can still set up SR, has Sturdy, a great priority moves, rapid spin, and is not set-up fodder.
I would recommend a 252 HP / 252 Def / 4 Atk Donphan which would fill the role your forretress does, but outclasses him (besides spikes)
That's...