Retry failed workflows

Is there a way to retry failed workflows? In particular in bulk?

We have had a few thousand workflows fail due to an issue with the database they were writing to, which has now been resolved.

Is there a way to replay the workflows so they can be processed?