bgm: I did once have a need for that, but never got around to scripting something. Thanks, I just ran it on one server and it found one dangling db already. (left over from a failed import I guess)
bgm: Any chance you could stick that in the docs somewhere? There should probably be a Maintenance section, but https://docs.aegirproject.org/extend/contrib/ seems like a good place for now.