Doing the total load is easy... doing it for 2 hours is somewhat harder (i.e. significantly more expensive). Typically you will need to over spec the power handling capacity to also get the battery size and run time. (having less run time, but comms between NAS and UPS to do a graceful shutdown might make more sense)
First look at what you actual load is. You could be pulling 100W ish from what you describe (depending on how many drives the NAS is running), then run the numbers through a manufacturers calculator.
APC do expansion battery packs for some of their units. So for example a
1.5kVA Back-Ups Pro, and an external battery pack could hold up a 100W load for over 3 hours - but might also set you back £600+As to brand, I would tend to stick to the better known ones like APC or MEM EATON simply because the software support is better, and more devices will understand how to talk to them without any faffing about.
APC have a reputation for being hard on batteries [1], but work and integrate well generally.
[1] Here is one I had some difficulty prising out of one of my 1kVA Back-Ups units:(installed March 2013, removed Dec 2017)