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

Add DB into AG with DEFUNCT files

$
0
0

I have a database which has defunct files. It is from a piecemeal restore.  I am trying to add it into an availability group. I backup and restore the DB with NORECOVERY on the secondary.  But each time I try to add the DB into the AG it fails trying to access the defunct files. Any suggestions how I may add this DB into the AG in this state?


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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