What is Diagnostic.data file in MongoDb data folder?
The diagnostic.data file contains the result of db.serverStatus() command in binary format. This will be used by the MongoDB engineers to analyze the behavior of the server if any error happens.

It is not necessary to take a backup of this file.