I agree with a UPS solution. Mine is set to automatically shut down the computer after 5 minutes on battery power. Plus, I backup the blockchain once a day. If it gets corrupted, I'll have just one day to resync.
I think UPS or replacement battery is cheaper than 2TB SSD and also a better solution. Losing power can lead to data loss and silent corruption all over system, not only Bitcoin.
A good UPS not a cheap I got it at WalMart UPS.
If you want a cheap one and are in NY I have a pile of them that have to go to the recycling center to be disposed of properly. They just don't last, and don't work well and have really poor transfer times (from when a drop is detected to when they take over we are talking fractions of a second) and hosts of other issues. I could save time and just take them from the box and drop them into the recycling pile bypassing the time and effort to install them.
There is a reason why this one is $ 345 for a 750va
https://www.amazon.com/CyberPower-PR750LCD3C-Sinewave-Outlets-Mini-Tower/dp/B0BY3NDG3YAnd this one is $ 100 for a 750va
https://www.amazon.com/CyberPower-EC750G-Ecologic-Outlets-Compact/dp/B00DBAA33K-Dave