Actually, buying a generator can be the perfect solution for you, but you can also consider buying something like inverters for your house or else. I recently bought one, and now I don't worry about power outages at all. I'll leave a link on the page with many good products that can help you, you just need to try some of them out.