Hello John,
Firstly, you did not waste those days!! You fought the yetzer, AND WON for 29 days running! Almost twice your previous high!!! During those days, you fought many battles. You emerged victorious! Those victories are yours for eternity! They will never be taken away from you! They are extremely precious! Enjoy them! Cherish them! Hold onto them! When you are feeling down, look back at those times, and reassure yourself THAT YOU CAN DO THIS!!!
Secondly, what worked for me was focusing on a few days at a time. I said that I would stay clean for 5 days, then I added another 5, then another 10, and so on. There were hard days and there were easy days. What made the battle easier was getting a foolproof filter on my computer. Also, committing to not touching myself "down there" with intent to pleasure. Once I started, it was very hard to stop. It was easier to not touch at all. I first undertook this for 24 hours. Then for another 24 hours, then through the weekend. I was slowly able to build up my endurance this way.
When I first found the 90 day count, I was already 15 days clean. I lasted 3 more days, for a total of 18, and then fell. I started again, lasted another 18 days, and then fell again. The 3rd time, I made it to 194, and then fell. This time, the fall was for a full week. I started again, and am currently at just over 200 days clean. You fell. Now you can choose to stay down and let the yetzer kick you when you are down, or, you can get up fighting!