If you are buying a used backhoe attachment initially intended for one specific machine, match the pressure (less will drop your digging force, more could easily damage something) of the hydraulics it was intended for and go with less flow than the base machine intended. The toe behind wont have the weight of a tractor on it to keep it from jumping around, so you will want to go slower for a bit of reduced violence.
on a budget, you will definitely want open centered hydraulics, because closed centered hydraulics pretty much require a variable displacement pump, and those are much more expensive than a cheap gear pump.
Once you have a flow number you want to hit, you can calculate the pump size based on that and the engine RPM (usually 3600rpm for small stationary engine like a Briggs or cheap Chinese Honda knock-off). once you have pump size and pressure, you can find torque requirements pretty easy.
here are the pertinent calculators;
Hydraulic Motor Calculations - Womack Machine Supply Company
here is an example on choosing pump and engine;
lets say you want 2000 psi and 7 gpm.
a .5 cu-in/rev pump will give you a bit over 7 gpm at 3600rpm, so lets go with that.
here is a fairly cheap .55 cu-in rev pump that can be spun to 5000rpm and can handle 3480 psi; so that will give us a generous cushion and the pump should actually last quite well in this application.
Hydraulic Pumps | Gear Pumps | Dynamic Hydraulic Gear Pump �.55 cu.in/rev | B537177 - GlobalIndustrial.com
.55cu-in/rev needs to only spin 2940rpm to make the desired flow.
.55cu-in/rev @ 2000 psi needs 175 in-lbs or 14.6 ft-lbs.
the harbor freight 8hp engine makes 14.9 ft-lbs peak at somewhere near 2500rpm, so that would be a great match for this combo when driven directly.
8 HP (31cc) OHV Horizontal Shaft Gas Engine EPA
this combo would cost $230 for the engine and $95 for the pump, plus whatever you need to splice the two together.
another possible solution would be to use a go-cart clutch and chain to attach to two. since you would get a gear reduction when doing that, you would need a larger pump, but don't get a gear pump that would be spinning less than 900 rpm when running. they loose efficiency going too slow.
you might do a belt drive and could gear up or gear down the pump. if you speed it up, you can use a smaller cheaper pump. Just be sure you don't spin the pump faster than it is rated for at full engine speed.
ETA. don't forget filtration!