My suggestion (and a cheap one) would be to lay hands on a heavy duty computer style UPS. Forget the internal batteries, hook it to two bigass 12 Volt batteries in parallel or 4 sixes in a waterproof box. The UPS will keep them charged and any outage you have is not likely to be longer than the life of those batteries. Usually the UPS can be had as a surplus freebee with worn out batteries, hence the outboard approach. Put the whole mess in a waterproof box and bury it by the gate. Plug the opener into the UPS and the UPS into your usual mains power. DONE. if this dupes anyone else my apologies.. I just got the idea that some of the ideas, while quite good, were more than necessary and I did not read the whole thread.