Problems with RelocateFile property in the Restore-SqlDatabase cmdlet

后端 未结 6 1625
难免孤独
难免孤独 2020-12-16 13:47

I trying to restore a database by using the Restore-SqlDatabase cmdlet. I need to relocate the files but I\'m getting the following errror

Restore-SqlDatabas         


        
6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 14:48

    I blogged about solving this issue by changing environment path variables. Please check http://powershelldiaries.blogspot.in/2015/08/backup-sqldatabase-restore-sqldatabase.html. As I mentioned above also, the answer by "Samuel Dufour" helped me. I just thought of an another way.

提交回复
热议问题