You will probably want to check the regulations of the place you will be backpacking through, some require the use of bear canisters to store food and won't allow bear bagging from trees. Also, there is the trick of eating early and hiking to a different non-normally used spot to camp for the night since bears like to come to the established campgrounds.