Baron de Geer, a famous Swedish naturalist, gives us the following:
"About the end of March I found an earwig brooding over her eggs in a
small cell, scooped out in a garden border. In order to watch her
proceedings, I removed the eggs into my study, placing them upon fresh
earth under a bell-glass. The careful mother soon scooped out a fresh
cell, and collected the scattered eggs with great care to the little
nest, placing herself over them, to prevent the too rapid evaporation
of the moisture. When the earth began to dry up, she dug the cell
gradually deeper, till at length she got almost out of view. At last,
the cell became too dry, and she removed the eggs to the edge of the
glass, where some of the moisture had condensed. Upon observing this, I
dropped some water into the abandoned cell, and the mother soon after
removed the eggs there. Her subsequent proceedings were no less
interesting; but I regret to add that, during my absence, the
bell-glass was removed, and the earwig escaped with her eggs."