Basic scrubber is needed when working with acidic vapors arising from AR and AP stuff. Chlorine, NOCl and NOx gases have very bad impact on the rubber and with time also on plastic. Metals are corroded very quickly by HCl vapors and practically any other vapors created in common recovery processes. If the vacuum pump is filled with oil - NOx and chlorine like to polymerize the oil inside - you will need to change it more often, because it is more quickly turned to jelly/grease.
Scrubbing acidic vapors like HCl is relatively easy, and very convenient trap is using solid scrubber - like granulated lime. It must be done properly to avoid clogging tho. We used lime and powdered slaked lime.
We also had scrubbers with aqueous hydroxide solution - on the inlet of the pump, gas bubble through relatively high column of the basic solution (at least 20-30 cm vertical). We conveniently used a fritted glass on the end of the submerged tubing to create very small bubbles=big surface area for adsorption.
One thing that prolong the lifespan of the pump is pressure regulator. Could be purchased for like 20-30 euros on aliexpress. Basically, it switch the pump on, when pressure is like 800mbar. Then shut the pump down, when it reach like 250 mbar. Then turn on only when pressure reach 800mbar again.
With this regulation, runtime is lowered to the minimum=less possible corrosion from evolved gasses. Also, when vacuum is quite deep (less than 100 mbar), it tend to suck out more of the HCl gas from the liquid. Because of this, regulator is strongly advised to minimize the unnecessary evaporation of the acidic gases to the pump. Because of this, it is also very good to make the apparatus tight = less time for the pump to reach proper level of vacuum = less gasses pulled through.
On the cheap and safe side -as suggested by Yggdrasil - there is aspirator vacuum pump, recycling water inside big barrel of water with small pressure pump. This setup is very cheap, highly resistent to acidic vapors, and simultaneously scrubb the gasses to the water in the barrel.
I used it extensively - 12V 80W membrane pressure pump from aliexpress (5,5 L/min flowrate but 1,5 MPa max pressure) connected to the classic glass aspirator pump, recycling water inside the 50 or 120 L barrel. Only drawback is the runtime, as these cheap pumps overheat very quickly. Submersible types are better in the means of runtime as they cool themselves in the liquid - but on the other hand, seals and metallic parts in the pump are wrecked more quickly than on the membrane pumps.
Also, you need a good bit of water (said 50-100 L), because it heat up quite a bit from running the pump.
Sadly, this type is not compatible with pressure regulators - stopping the pump with evacuated apparatus will quickly flood your tubing and apparatus because of negative pressure inside suck the water in.