Move FTData folder.

chrisrdba 471 Reputation points
2021-08-31T18:14:37.13+00:00

Greetings. I've moving my DB's to a new drive on the same instance. I moved the FTData folder to the new drive for safe keeping, but for the life of me can't figure out how to tell SQL Server it's moved.

I also get this ugly error message on startup:

Message
SQL Server failed to set security information on the full-text FilterData directory in the FTData folder. Full-text indexing of some types of documents may fail until this issue is resolved. You will need to repair the SQL Server installation.

Plenty of articles reference changing the value in the registry folder

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<instance id>\Setup\FullTextDefaultPath", but that appears to be for older versions only. I don't have that value.

Plenty of other articles reference dead MS links.

How do I correctly move this guy.

SQL Server | Other
{count} votes

5 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2021-09-01T19:30:25.053+00:00

    As I found my attempt to answer last night quite embarrassing, I had to dig into this a little more.

    I still I have not found any documentation, but I did some investigation. I get the impression that the FTData folder is created in the folder which you specify as the Data folder when you run Setup. This value is then found as HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.INSTANCE\Setup\SqlDataRoot. (I made an installation where I set the data folder to be different from the other folders in the setup.) Note that this is not the same value that you see SSMS as the default data directory.

    I assuming that you have this one located on the drive that is going away, and if my theory is correct, you would need to update this value. But I have not actually tested that this is the way to go.

    1 person found this answer helpful.

  2. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2021-08-31T21:45:24+00:00

    I can't claim knowledge, but I my suggestion is that you move the folder back to were you found it. On my instance, I only see a bunch of small XML files in that folder. But it is true that I'm not using full-text very much.


  3. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2021-09-01T06:44:52.037+00:00

    Hi chrisrdba,

    What is the version of SQL Server are you using? Is your SQL Server upgraded from SQL Server 2000 or SQL Server
    2005?
    Starting from SQL Server 2008, full-text catalogs are integrated into the database and is now a logic object without a specific file path in the system. Therefore, a file path is no longer associated with the Full-Text Search catalog. And the path in the sysfulltextcatalogs view and the path returned by the sp_help_fulltext_catalogs and sp_help_fulltext_catalogs_cursor system stored procedures will now return a NULL value. Please refer to this doc for more details.

    SQL Server failed to set security information on the full-text FilterData directory in the FTData folder. Full-text indexing of some types of documents may fail until this issue is resolved. You will need to repair the SQL Server installation.

    Please refer to this thread which might be helpful.

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.


  4. chrisrdba 471 Reputation points
    2021-09-10T16:36:44.243+00:00

    We've engaged Microsoft on this. Our tech has been unable to reproduce with the message I'm getting, and unable to figure out why I'm getting it.


  5. Emmanuel R 0 Reputation points
    2023-08-31T15:47:31.94+00:00

    We had the same issue happening , having moved the system databases of a freshly installed MSSQL Server 2019, according to the procedure https://learn.microsoft.com/en-us/sql/relational-databases/databases/move-system-databases?view=sql-server-ver15

    In that procedure is stated that the location in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.INSTANCE\Setup\SqlDataRoot should be modified.

    We solved the issue as follow:

    Create the following folder and subfolder in the new SqlDataRoot:

    • FTData
    • FTData\FilterData

    Set the correct rights and inheritance (!) on these folders:

    Do mind the rights of the Dbengine service account (typically NT SERVICE\MSSQLSERVER) and Fulltext search service account (NT SERVICE\MSSQLFDLauncher) on these folders : they should be set according to those applied on the folders in the original SqlDataRoot location

    stop the dbengine and Fulltext search launcher services

    copy the content of those folders in the new location

    restart the dbengine, which should automatically start the fulltext search service

    the error in the eventlog should not appear anymore

    0 comments No comments

Your answer

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