The power outage on two islands that forced thousands of people to evacuate could take up to two weeks to fix, according to officials.