Save the temporary snapshot to both use them as reference, and to avoid
full reindexation in case of error in the middle of the task.