Your battery choice is a flexible decision. Size, availability, amphere-hours (capacity), chemistry etc. If the UPS function isn't expected to be operated very often - mains supplies generally being reliable these days - then even alkaline (non-rechargable) batteries could be used.