The hardest part of that is regulatory compliance on whatever interlock you have installed that prevents you from connecting mains to your backup.
The most common solution to that is a switch that goes through fully disconnected in the middle, and I've even seen a sliding metal plate used that interferes with at least one or both circuit breakers.
The most common solution to that is a switch that goes through fully disconnected in the middle, and I've even seen a sliding metal plate used that interferes with at least one or both circuit breakers.