I have a recurring back issue as well... it recurred over Thanksgiving. It SUCKS!
Yadda yadda yadda... physical therapy... and I learned a few things. You're right, exercise is GOOD but here's two big things:
1. Stretch. Especially your hamstring. I know, it doesn't make sense at first but it works. Stretch your hamstrings.
2. Strengthen your CORE. THem's the muscles that connect to your pelvis, UNDER your abs. Look up core strengthening exercises like "dead bug."
If you can get to a physical therapist, I'd recommend it. I learned I've been doing everything wrong, right down to the way I hold my pelvis. A PT will help you find your "pelvic neutral" position and everything changes from there.
Good luck and keep it up!!!