Added DAL function and service endpoint to swap current and backup states

[#58246470] #42