Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         csaha 
                                        Yak Posting Veteran 
                                         
                                        
                                        52 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2012-11-12 : 14:57:07
                                            
  | 
                                             
                                            
                                            | 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. | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     tkizer 
                                    Almighty SQL Goddess 
                                     
                                    
                                    38200 Posts  | 
                                    
                                      
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     csaha 
                                    Yak Posting Veteran 
                                     
                                    
                                    52 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2012-11-12 : 16:35:49
                                          
  | 
                                         
                                        
                                          | RESTORE LOG [database]GOI am restoring the secondary database using the transactional log.  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     tkizer 
                                    Almighty SQL Goddess 
                                     
                                    
                                    38200 Posts  | 
                                    
                                      
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |