A small 12v battery would be easier trickle charged via the same wall wort.
Winston. Please give details of how you would trickle charge a battery from a DC power supply which does not have any means to set the charging current. Unregulated charging could destroy the battery.
Supplying the router from a battery that is float charged from a battery charger set up to match the battery and load is a good idea.