Forestry , an important export earner , provides a secondary occupation for the rural population .