When backing up and restoring course containing grade categories, grade categories are lost.
Grade items and calculations are correctly restored. Version: Moodle 1.9.1+ (Build: 20080618)
To reproduce the bug:
1. in a course create grade categories
2. add items and calculations at will
3. backup the course without users
4. restore the course
5. grade categories are lost, items and calculations mantained