No, the license key doesn't need to match exactly - if you end up restoring a database that has fewer licenses than you need, Unity will start barking about it in the event log, you wont be able to add stuff in the SA and eventually it'll go off line. DiRT, however, wont prevent you from restoring what you have.