Backwater valve
There is a big difference between backwater valves and backflow preventers:
A backwater valve prevents raw sewage from backing up into your home through your toilets, showers, etc.
A backflow preventer deals with protecting your potable water source from being contaminated by a reverse flow of foul water
(ex: isolating your toilet's flush cistern and water supply from the toilet bowl water itself).