How much of my portfolio should be in bonds?

In general, the further from retirement you are, the more you should favor stocks' long-term growth potential over bonds' stability and income. As you approach and enter retirement, you can gradually shift more assets from stocks to bonds to get greater stability.

For more, see What's the best asset allocation for my age?