It's been happening alot in the past two months on the East coast. Storms knocking out power for days. For your refrigerator, this means loosing all your food. And this can be very costly. But if you have a gas generator, this is a option for you. All you need to do is make sure you have the correct size to power your fridge.
You are going to have to place your generator out doors, its not a safe machine to run in the home due to the carbon monoxide fumes. Make sure though that your generator is protected from the elements.
Before starting your generator, make sure the tanks are full of fuel. Also it is probably best to check all the other fluids as well.
Start your generator and let it run for a few minutes before you begin using the power.
You will have to run your fridge cord outside to the generator in order to use it. You know everything is fine if the refrigerator light is on and your condenser motor is running.