When will a restraint of trade be upheld?

At common law, in order for a restraint to be enforced, it must be: (i) reasonable, having regard to the interests of the parties; and (ii) not unreasonable in the public interest. A restraint of trade is “reasonable” if the employer has a legitimate protectable interest and the restraint does no more than is reasonably necessary for the protection of that interest. A “legitimate protectable interest” may include an interest in trade secrets, confidential information, goodwill, and customer connections.

See for example DP World Sydney Ltd v Guy (2016) NSWSC 1072