Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

After restore of database after logshipping the file name changes

$
0
0

If I run the following command use [RE7]go sp_helpfile go in the primary server the names are RE7_Sample and RE7_Sample_log and file names are D:Datare7.mdf and D:Datare7_log.ldf. After the restore of log shipping in the secondary server the file name changes to re7_sample.mdf, RE7_Sample_log.ldf and the names are RE7_sample and RE7_Sample_log.

How can I restore so that the file name and the names remains the same in the primary and secondary server.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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