We’ve made some improvements to the uploads:recover_from_tombstone rake task.
uploads:recover_from_tombstone
It even has its own tested class now thanks to @tgxworld and @vinothkannans