Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Auto-seeding on Secondary AG replica

$
0
0
I encountered an issue when creating new secondary node for AG on SQL Server 2019 EE and used automatic seeding. Some data files created on the same drives as Primary (this is correct), but some data files created on default data location. In my case D:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\
I tried to move those data files to correct folders without success.
Also, in SSMS SQL shows the correct location for the files, for example F:\DATA but the physical file location was actually on D:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\
1. Why would the seeding process not create the files in the same location as on the Primary?
2. Is there a way to use the automatic seeding and get the files in the correct folders?
3. How can I move data files to correct location without dropping the database and restoring rom backup?

Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>