I am not able to find an answer to this. Does anybody know this? I want to enable the download of .bak file and for that I need to know the mime type so that i configure the same in the IIS for .bak file.
Any help is appreciated.
There is no special MIME type for SQL. Just use application/octet-stream .
A file with . bak extension is usually a backup file that is used by different software tools to store backups of data. From database perspective, a BAK file is used by Microsoft SQL Server for storing the contents of a database.
You can save a backup of your MS SQL databases to a single file on your hard drive. These backup files have names ending with the ". bak" file extension, and you use them to restore database backups through Microsoft SQL Server.
Not everything has a custom mime type. For generic binary files use application/octet-stream
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With