Working from memory here because it is a long time since I went to college!!!

Isnt the charge/discharge curve of a capacitor non linear an also as the cap discharges the voltage drops so you will hit brownout long before the cap is discharged. Might be better just with a lithium or rechargeable battery as the backup supply.