Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup failed across a network on a shared drive...

Status
Not open for further replies.

SteveMe

MIS
Aug 30, 2002
83
US
Need help failed due to back up device.

backup database mydb to s:\mydb.bak ......


It's failed on the s:\ which is a shared folder

Source machine is windows 2003 server
target is windows 2000
 
You cannot do backup to a mapped network drive, you have explicitally give the share location. Refer the below example.
\\ServerName\ShareFolderName\

RESTORE DATABASE MyDb
FROM Disk = '\\serverA\Mssql\Backup\Mydb.bak'
WITH STANDBY = 'C:\MSSQL\Log\undoMyDb.ldf', MOVE 'MyDb_Data' TO 'C:\MSSQL\Data\MyDb_data.mdf',
MOVE 'MyDb_log' TO 'C:\MSSQL\Log\MyDb_log.ldf'
GO
Try this


Dr.Sql
Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top