Take the dough out of the refrigerator and let it rest at room temperature for 5-10 minutes. Clean the broccoli, divide into florets and wash. Cut the florets in half or in thirds, depending on their size. Peel onions and cut into rings. Cut bacon into pieces. Season sour cream with salt, pepper and a little sugar
Fold the dough from the narrow side halfway over, cut across into 4 strips. Roll slightly wider on a floured work surface and place on a baking tray lined with baking paper. Spread with sour cream, leaving about 1 cm free to the edge. Press the dough ends together. Put the bacon, onions and broccoli in the pockets and drizzle some olive oil on each. Grate the cheese, sprinkle over it
Bake in the preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 20-25 minutes. Take out, arrange and sprinkle with pesto