Could not find a part of the path 'C:\var\opt\mssql\Log\backuplog.txt' in SQL server on linux

MJ Jakati 116 Reputation points
2021-05-21T16:37:49.033+00:00

Hello Team,

I have installed SQL Sever on Linux and changed the log and data files locations as well. When I ran backup job and to view the backup job output file with SSMS when I click on view I am getting below error.

Could not find a part of the path 'C:\var\opt\mssql\Log\backuplog.txt' in SQL server on linux

I am not sure some how its picking windows location format can some one help me on this. Please.

Is there any way root directly is pointing to C:\ drive?

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
SQL Server | Other
{count} votes

Answer accepted by question author
  1. MJ Jakati 116 Reputation points
    2021-05-21T18:51:34.133+00:00

    98761-sql-root-directory-wrong.png

    Its a Linux server some how root directory is picking C:\ drive instead of /.

    Can some one please let me know how to fix it.


9 additional answers

Sort by: Most helpful
  1. MJ Jakati 116 Reputation points
    2021-06-01T07:28:29.147+00:00

    Thanks for looking into this, I have raised a bug request from your provided link.

    https://feedback.azure.com/forums/908035-sql-server/suggestions/43542324-this-is-a-bug-which-i-came-across-in-sql-server-on


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.