Before disaster hits, mark which valve is for the water supply. Run some hot water from any sink. Go back to the hot water tank and feel the two pipes attached to it. The supply line will be the colder one. Somehow mark the valve as "supply". This will be the one to close in an emergency so that contaminated water will not go into the tank as you drain the clean drinking water that is stored in it.