If the slow sync fails, it should delete all the created notebooks so that it does a new slow sync, and if the quick sync fails, the last sync time isn't set, so it should start from the same point next time.