Keep your dog on the proper diet, get regular veterinary visits and good grooming to hold your dog healthy.
This is the reason any back exercises choose to to use for will will have to take all these factors in head. https://groups.google.com/g/muscle-and-joint-care/c/imjkEL8FRN4