I'm not too familiar with the EU, much less the Disney canon.
Going by George Lucas' films, I only really need to survive the purge and the immediate few days or weeks after. If the Empire was smart, they would have downloaded the faces and DNA records of every Jedi listed in the Temple...