This is more a question on the 'staying in shape' side of things.
For the last 3/4 years ive had on and off problems with my lower back.
Nothing to serious, it doesnt stop be from exercise or come up much. Literally once or twice a year I might pull my lower back out of no where.
What excerises are best for strengthening your lower back to prevent injuries?
depending on how severe the back pain, you can start with easy stuff like glute bridging, 4 point kneeling etc but from the sounds of it you're fine so yeah, deadlifts. Make sure you have proper technique
Im currently just doing home exercises. Push ups, next day crunches, next day squats. I think if i can get this routine going ill have good results. The idea being i can work to the point of soreness and each muscle group has 2 days rest before working out again.