This is something that I have been struggling with also. I live in a rural area of France where short but frequent power outages cause me a lot of grief with my Pi audio setup.
Take a look at this forum - https://volumio.org/forum/ There is some info if you search around.