Most security camera DVR's are set up to automatically continue recording when power is restored. We highly recommend the addition of an Uninterruptible Power Supply (UPS) which functions as temporary backup power and usually provides effective surge protection as an additional benefit.