About 1,600 schoolchildren were saved by their teacher shortly before the school was inundated in last week's devastating floods.