I have a production and disaster recover ('DR') server and have been using log-shipping on a single database ('DB1') between the two servers without issue for a few months.
Recently I've had to duplicate an instance of the application and this required a duplicated database. The duplicate database was restored from a backup of DB1 and was renamed ('DB2'). Setting up log-shipping on DB2 has been an issue. For some reason the logical and data files on the DR server are different names to the database (DB2).
Is there a way to change the logical and data file names of the "target" database to be the same name as the database as reflected in SSMS?