To restore database backup over a network, you will need to run the following SQL statements using your SQL Management Studio.
--enable to show advanced options EXEC sp_configure 'show advanced options', 1 GO --apply changes for show advanced options RECONFIGURE GO --enable xp_cmdshell EXEC sp_configure 'xp_cmdshell', 1 GO --apply changes for xp_cmdshell RECONFIGURE GO --replace network path, username and password accordingly EXEC xp_cmdshell 'NET USE Z: \\SERVER\Path password /USER:Domain\Username' GO
Once the above are executed, you should be able to choose Z:\ network drive to restore your database backup file. I hope it helps.
No comments:
Post a Comment
Do provide your constructive comment. I appreciate that.