SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Database Backup failing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DarioLMou
Starting Member

South Africa
3 Posts

Posted - 01/20/2012 :  05:40:48  Show Profile  Reply with Quote
Hi Guys,

I have a maintenance plan in place to backup daily.
The backups are meant to be done on an external hard drive(format NTFS), but this is failing every time with teh following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.
Could not create a sub directory for database The_Tsogo_CO. The parent directory will be used instead.[2] Database The_Tsogo_CO: Database Backup...
Destination: [O:\NewSAPBackup\The_Tsogo_CO_db_201201201230.BAK]
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open backup device 'O:\NewSAPBackup\The_Tsogo_CO_db_201201201230.BAK'. Device error or device off-line. See the SQL Server error log for more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.

When I change the plan to backup on the local disk it works fine.

I need the external as we are running out of space on the local disk.

Any help will be appreciated.

Thanks
Dario

webfred
Flowing Fount of Yak Knowledge

Germany
8515 Posts

Posted - 01/20/2012 :  05:55:04  Show Profile  Visit webfred's Homepage  Reply with Quote
quote:
Originally posted by DarioLMou

Hi Guys,

I have a maintenance plan in place to backup daily.
The backups are meant to be done on an external hard drive(format NTFS), but this is failing every time with teh following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.
Could not create a sub directory for database The_Tsogo_CO. The parent directory will be used instead.[2] Database The_Tsogo_CO: Database Backup...
Destination: [O:\NewSAPBackup\The_Tsogo_CO_db_201201201230.BAK]
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open backup device 'O:\NewSAPBackup\The_Tsogo_CO_db_201201201230.BAK'. Device error or device off-line. See the SQL Server error log for more details.maybe that helps?
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.

When I change the plan to backup on the local disk it works fine.

I need the external as we are running out of space on the local disk.

Any help will be appreciated.

Thanks
Dario




No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

Andrewpaul
Starting Member

1 Posts

Posted - 02/19/2012 :  14:55:26  Show Profile  Reply with Quote
For Creating backup a SQL Server database to a mapped drive using a local drive letter you have the following options:
1. Run the following command from a query window EXEC xp_cmdshell 'net use <drivename> <share name>'
-- where
<drive name>: Letter used to map the drive
<share name>: UNC path to the share
2. After that you should be able to backup using the mapped drive letter
3. Your Management Studio Object Explorer logical drive enumeration window should be able to list the above mapped drive
http://www.techyv.com/questions/cannot-run-database-server-works-fine-local-disk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000