Get an overflow? It will only dump as much water as your pump can push up into the tank.
Question is a bit general, more information would help. I am assuming you are siphoning water from tank to sump...instead of siphon use an overflow type of intake.