I have a Server system that I wan't to power using solar, but have the grid available as a backup.

The way I'm planning on doing this is...