Actively recover raptor shards from backup

Extract a method `recoverShards()` that does the actual work, then the try/catch is easier to read.