| | |
Restore Database from a Remote Backup
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
Good Day All
am restoring a Database Programatically in Sql. Now if the backup is located in the remote machine i use a Share
but i will get the Following Error
Thanks
am restoring a Database Programatically in Sql. Now if the backup is located in the remote machine i use a Share
•
•
•
•
\\Vuyiswa\MyShare\
but i will get the Following Error
•
•
•
•
Exception caught in: ExecuteStoredProc: The file "\\Vuyiswa\Databases\\REmoteTest33.mdf" is on a network path that is not supported for database files. File 'TNGoedit_Data' cannot be restored to '\\Vuyiswa\Databases\\REmoteTest33.mdf'. Use WITH MOVE to identify a valid location for the file. The file "\\Vuyiswa\Databases\\REmoteTest33_log.ldf" is on a network path that is not supported for database files. File 'TNGoedit_Log' cannot be restored to '\\Vuyiswa\Databases\\REmoteTest33_log.ldf'. Use WITH MOVE to identify a valid location for the file. Problems were identified while planning for the RESTORE statement. Previous messages provide details. RESTORE DATABASE is terminating abnormally. Database 'REmoteTest33' does not exist. Make sure that the name is entered correctly.
Thanks
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
0
#2 Nov 10th, 2009
I don't think you can do backup/restore on UNC paths. You should look in to mapping a drive for that share on the SQL Server.
0
#3 Nov 10th, 2009
Its the same thing. UNC and the Mapped drive is the same thing. so that will not help. i thought there was another way.
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
•
•
Join Date: Jun 2009
Posts: 449
Reputation:
Solved Threads: 82
0
#4 Nov 12th, 2009
Hi vuyiswamb,
Check the account under which the SQL Server instance is running.
SQL Server instance is generally running under Local System/Local Servce/Network Service accounts which may not have access rights to the UNC path.
Change that account to a domain user account which should have access to the UNC path, restart the service, and try now. Hope this will help you.
Refer these links also.
http://support.microsoft.com/?kbid=555128
http://social.msdn.microsoft.com/for...-f09b78d89ed1/
Check the account under which the SQL Server instance is running.
SQL Server instance is generally running under Local System/Local Servce/Network Service accounts which may not have access rights to the UNC path.
Change that account to a domain user account which should have access to the UNC path, restart the service, and try now. Hope this will help you.
Refer these links also.
http://support.microsoft.com/?kbid=555128
http://social.msdn.microsoft.com/for...-f09b78d89ed1/
![]() |
Similar Threads
- VB backup and restore program (Visual Basic 4 / 5 / 6)
- How to restore a Time Machine Backup after reformat? (OS X)
- back-up & restore mysql database in runtime(help pls) (Visual Basic 4 / 5 / 6)
- Remote MS SQL database update issue (MS SQL)
- How can I Backup and Restore a database to a new database in the same Server? (VB.NET)
- BackUp And Restore (VB.NET)
- Backup and Restore Database (VB.NET)
- SQL Server 7.0 BackUP and Restore Code (Visual Basic 4 / 5 / 6)
- Use Backup to Restore Files and Folders on Your Computer in Windows XP (Windows tips 'n' tweaks)
Other Threads in the MS SQL Forum
- Previous Thread: SSIS skip bad row
- Next Thread: Connection to remote server
Views: 722 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for MS SQL
"last autogrowth business connectingtodatabaseinuse count cursor data database dateadd datepart day" dbsize deadlock delete_trigger exploit getdate hack highperformancecomputing hpc hpcserver2008 ibm iis limit loop maximum microsoft ms mssql multiple multithreading news number password permission position query reporting result security server services sets single source sql sql-injection sqlserver sqlserver2005 subtype supercomputing supertype tables uniqueid update view weekday






