The repair methods for a leaning foundation wall depend on the amount that the wall has moved inward.
How to fix a leaning concrete wall.
Make sure that the rod connects to the anchors that are installed within the soil.
If the movement is minimal carbon fiber straps or steel wall braces are an appropriate repair to prevent further movement and the possibility of having to excavate and straighten the wall later.
Retaining wall repair options whether a retaining wall is built of stone block concrete or wood it can begin to lean.
Straightening the wall will require some engineering and is beyond strangers on the internet.
Screw an anchor rod through the hole.
Using anchors drill a one inch hole unless otherwise specified by the wall anchor manufacturer in your retaining wall.
Wall anchors can be a long lasting solution to strengthen retaining walls and actually pull them back as close to their original position as possible.
Install the wall plate and tighten the anchor rod.
If the wall has moved significantly the soil outside the wall will have to be excavated and the foundation wall straightened or in the worst cases replaced altogether.
Something in between could be addressing the drainage behind which could help prevent further leaning.
This mortar is typically one of the first things to show wear on a well made wall.
So a totally proper repair would be to remove the whole thing and start over.
Either demolish the wall.
In a brick and mortar retaining wall the bricks are secured together with a layer of mortar which looks like a light gray concrete.