Jst my present solution although the solar is not in direct sunlight.. Its a redundant unit and works perfectly! I've checked this setup for a couple of weeks and all is stable.
My 'test' setup using a charger as a UPS! Seems to work 100% although rhe solar is not functional but it gives possible an idea how to safeguard the unit for powerfailures!