Place foam roll on floor and lay down on floor with your upper back over the foam roller. Keep your feet flat on floor with your knees bent and you can roll up and down your upper back with the foam roller
At each individual segment (vertebra) you can stop and arch your back over the foam roller. This will help to increase motion through the upper back
If you have moderate to severe osteoporosis this may not be the best exercise for you do the force of the foam roller. Please consider bruggers position or the upper back extensions using the wall for your exercises.