MDL-46696 backup: Include grade history in backups