More than 5,000 people have been affected by the flooding which has caused extensive damage to roads, homes, and businesses.