Check with an outdoor supply store for foods packaged especially for backpacking. Water is always an important consideration on a hiking trip. You ll need it for preparing foods as well as for washing up. Purchase purification tablets or equipment from camping supply stores, and learn purification techniques. You may wish to bring along some bottled water.
Cleanliness is essential.
Pack soap for hand washing and dishwashing. Or use disposable wipes o clean your hands when working with foods. If carrying prepared bottles they must be kept cold. If using bottled water, it is not necessary to boil it before mixing with formula. As for baby food, bring the smallest size jars.