A bushfire burning for more than three weeks has been contained but the road to recovery will be long and hard for surrounding communities.