<p>Many emerging sensor network applications operate in challenging environments wherein the base station is not available. Data generated from such <em>intermittently connected sensor networks</em> (ICSNs) therefore must be stored inside the network for some unpredictable period of time before uploading opportunities become available. Consequently, sensory data could overflow the limited storage capacity available in the entire network, making discarding valuable data inevitable. To overcome such <em>overall storage overflow</em> in ICSNs, we propose and study a new algorithmic framework called <u><em>d</em></u><em>ata</em> <u><em>a</em></u><em>ggregation for </em><u><em>o</em></u><em>verall storage </em><u><em>o</em></u><em>verflow </em>(DAO<sup>2</sup>). Utilizing spatial data correlation that commonly exists among sensory data, DAO<sup>2</sup> employs data aggregation techniques to reduce the overflow data size while minimizing the total energy consumption in data aggregation. At the core of our framework are two new graph theoretical problems that have not been studied. We refer to them as <u><em>t</em></u><em>raveling </em><u><em>s</em></u><em>alesmen </em><u><em>p</em></u><em>lacement </em><u><em>p</em></u><em>roblem</em> (TSP<sup>2</sup>) and<em> quota traveling salesmen placement problem</em> (Q-TSP<sup>2</sup>). Different from the well-known multiple traveling salesman problem (mTSP) and its variants, which mainly focus on the routing of multiple salesmen initially located at fixed locations, TSP<sup>2</sup> and Q-TSP<sup>2</sup> must decide the placement as well as the routing of the traveling salesmen. We prove that both problems are NP-hard and design approximation, heuristic, and distributed algorithms. Our algorithms outperform the state-of-the-art data aggregation work with base stations by up to 71.8% in terms of energy consumption. The building blocks of our framework are two novel graph structures called <em>aggregation network</em> and <em>minimum q-edge forest </em>that accurately capture the information needed for energy-efficient data aggregation in ICSNs.</p>