View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000811||bareos-core||file daemon||public||2017-04-11 21:59||2017-04-11 21:59|
|Summary||0000811: Unable to relocate SQL Server database files on restore|
|Description||The plugin is able to restore a database with a different name than the original but I couldn't find a way to rename the actual database files or relocate them to another folder.|
This effectively prevents a database from being restored alongside the original unless restoring to file and then importing into the engine with the MOVE option.
|Steps To Reproduce||Just a plain restore with DB rename on the same host should be enough to reproduce.|
|Additional Information||I think this is probably a limitation of the TSQL command to restore that seems to require previous knowledge of the database MDF/LDF records in order to move them.|
Could this be worked around by saving these records as metadata during backup and used, in conjunction with some relocation parameter, during restore?
|Tags||No tags attached.|