Oh man back problems have been the bane of my lifting career. I got ruptured discs in thoracic, bludged L1-s5, and lumbar problems that no doc could diagnose accurately after it popped and I went to doctor years after for that one.
Between all of those left me not being able to bend over, walk with a back pack without getting shocks down my spine and legs, tie my shoes, sit in a car, or even wake up and turn without pain. Seks was a struggle ngl haha.
Having said that I rehabilitated myself out of majority of symptoms over the years. One thing I'd say rehabilitate slowly. Make sure your hamstrings are not tight, it will alleviate some pain and reduce risk of further injuries.
As to recovery, first, I would drop some exercises that eggreviate it further. For me it was leg presses at 45 *depending on machine larger angle seemed to be okay*, take out bent over rows and seated horizontals for a while, if they hurt.
Personally what I have done was focused on back extensions and my core very slowly and light, as well as more vertical pulling. Weighted hangs and laying with knees to my chest seemed to make things better a little bit.
Once i could do core without cursing out the world, bring it back to strength helped to reduce the pain further. Also if you insist on doing squats, I could do front squats with almost no pain from the beginning vs back. And once you're ready I'd say trap bar deadlifting vs conventional if you wanna go that route.
Last injury I thought I was out for good ngl, but really pushed the rehabilitation, dropped my ego and desire to lift heavy ass shit and moved up to higher reps while listening to my body. If anything would get aggravated, I took it as if I was not ready for that yet and should not be doing it with weight or a lot of it. Back extensions really helped, hurt a little at first, but made sure to take it slow, no weight etc. And like I said once I was able to do leg raises again and strengthen my core and obliques on top I felt tons better. This last rehab took me 6 months to get back to shape in my pic and hitting prs. Having said that, I still do have some pain if I don't stretch my hamstrings or do leg press. I hope this will go away to be more negligible in the next year or two.