Cook the spaghetti until al dente according to the instructions on the packet and drain.
Mix the tomatoes with the cottage cheese, sour cream and herbs and season with pepper, sugar and salt (if you like, you can also add a little balsamic vinegar to taste).
Mix the sauce with the spaghetti, season again to taste and spread in a casserole dish brushed with a little oil. Pour the sprinkled cheese over it and bake everything at 175 degrees for about 20-25 minutes on the middle rack in the oven (until the cheese is lightly browned)