Showing posts with label databases. Show all posts
Showing posts with label databases. Show all posts

Thursday, March 29, 2012

backup file being reported as corrupt

I am backing up my databases every night. The system admin has a process running where he copies any new files on the drive to a tape drive for backup.

Twice now he has told me that a backup file was corrupt. In both cases, my jobs and processes are still running clean. DBCC checkdb returns no errors. Where is the best place / tool to check for corruption in tables?

Corruption was occurring in the backup process and was not related to SQL Server itself.

backup file being reported as corrupt

I am backing up my databases every night. The system admin has a process running where he copies any new files on the drive to a tape drive for backup.

Twice now he has told me that a backup file was corrupt. In both cases, my jobs and processes are still running clean. DBCC checkdb returns no errors. Where is the best place / tool to check for corruption in tables?

Corruption was occurring in the backup process and was not related to SQL Server itself.

Backup Fails When DB is Large (2.2 gigs)

I have many databases that I can backup just fine on my SQL Server. However, there is one database that I cannot backup without the following message:
"backup database is terminating abnormally".
The strange thing is that the database really does get backed up despite the messages; I've even done restores from the backup.
When I checked the event log, there are two errors.
ONE:
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 17055
Date: 8/25/2003
Time: 08:23:59
User: MARIN\aaronosheroff
Computer: IS-DBS2
Description:
18210 :
BackupDiskFile::RequestDurableMedia: failure on backup device '\\Ivcserv1
\SqlServerBackups\HP_STUREC_MCC_CES.BAK'. Operating system error 64(The specified network name is no longer available.).
Data:
0000: 22 47 00 00 10 00 00 00 "G.....
0008: 08 00 00 00 49 00 53 00 ...I.S.
0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
0018: 32 00 00 00 00 00 00 00 2......
and TWO:
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (6)
Event ID: 17055
Date: 8/25/2003
Time: 08:23:59
User: MARIN\aaronosheroff
Computer: IS-DBS2
Description:
3041 :
BACKUP failed to complete the command BACKUP DATABASE [HP_STUREC_MCC_CES] TO DISK =3D N'\\Ivcserv1
\SqlServerBackups\HP_STUREC_MCC_CES.BAK' WITH INIT , NOUNLOAD , NAME =3D N'HP_STUREC_MCC_CES backup', NOSKIP , STATS =3D 10, NOFORMAT Data:
0000: e1 0b 00 00 10 00 00 00 =E1......
0008: 08 00 00 00 49 00 53 00 ...I.S.
0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
0018: 32 00 00 00 00 00 00 00 2......
Can someone help me out here? Thanks...
.Thanks for the post, but this is not the problem...
>--Original Message--
>does the network share exist? See if you can run
>BACKUP DATABASE [HP_STUREC_MCC_CES] TO DISK =3D 'c:\mybakup.bak'
>"Aaron" <aaron.osheroff@.marin.cc.ca.us> wrote in message
>news:064101c36b45$8a492230$a101280a@.phx.gbl...
>I have many databases that I can backup just fine on my
>SQL Server. However, there is one database that I cannot
>backup without the following message:
>"backup database is terminating abnormally".
>The strange thing is that the database really does get
>backed up despite the messages; I've even done restores
>from the backup.
>When I checked the event log, there are two errors.
>ONE:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (2)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>18210 :
>BackupDiskFile::RequestDurableMedia: failure on backup
>device '\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK'. Operating system
>error 64(The specified network name is no longer
>available.).
>Data:
>0000: 22 47 00 00 10 00 00 00 "G.....
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>and TWO:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (6)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>3041 :
>BACKUP failed to complete the command BACKUP DATABASE
>[HP_STUREC_MCC_CES] TO DISK =3D N'\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK' WITH INIT ,
>NOUNLOAD , NAME =3D N'HP_STUREC_MCC_CES backup', NOSKIP ,
>STATS =3D 10, NOFORMAT
>Data:
>0000: e1 0b 00 00 10 00 00 00 =E1......
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>Can someone help me out here? Thanks...
>
>
>..
>
>.
>|||normally this seems to be a network issue.
>--Original Message--
>Thanks for the post, but this is not the problem...
>
>>--Original Message--
>>does the network share exist? See if you can run
>>BACKUP DATABASE [HP_STUREC_MCC_CES] TO DISK >=3D 'c:\mybakup.bak'
>>"Aaron" <aaron.osheroff@.marin.cc.ca.us> wrote in message
>>news:064101c36b45$8a492230$a101280a@.phx.gbl...
>>I have many databases that I can backup just fine on my
>>SQL Server. However, there is one database that I cannot
>>backup without the following message:
>>"backup database is terminating abnormally".
>>The strange thing is that the database really does get
>>backed up despite the messages; I've even done restores
>>from the backup.
>>When I checked the event log, there are two errors.
>>ONE:
>>Event Type: Error
>>Event Source: MSSQLSERVER
>>Event Category: (2)
>>Event ID: 17055
>>Date: 8/25/2003
>>Time: 08:23:59
>>User: MARIN\aaronosheroff
>>Computer: IS-DBS2
>>Description:
>>18210 :
>>BackupDiskFile::RequestDurableMedia: failure on backup
>>device '\\Ivcserv1
>>\SqlServerBackups\HP_STUREC_MCC_CES.BAK'. Operating system
>>error 64(The specified network name is no longer
>>available.).
>>Data:
>>0000: 22 47 00 00 10 00 00 00 "G.....
>>0008: 08 00 00 00 49 00 53 00 ...I.S.
>>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>>0018: 32 00 00 00 00 00 00 00 2......
>>and TWO:
>>Event Type: Error
>>Event Source: MSSQLSERVER
>>Event Category: (6)
>>Event ID: 17055
>>Date: 8/25/2003
>>Time: 08:23:59
>>User: MARIN\aaronosheroff
>>Computer: IS-DBS2
>>Description:
>>3041 :
>>BACKUP failed to complete the command BACKUP DATABASE
>>[HP_STUREC_MCC_CES] TO DISK =3D N'\\Ivcserv1
>>\SqlServerBackups\HP_STUREC_MCC_CES.BAK' WITH INIT ,
>>NOUNLOAD , NAME =3D N'HP_STUREC_MCC_CES backup', NOSKIP ,
>>STATS =3D 10, NOFORMAT
>>Data:
>>0000: e1 0b 00 00 10 00 00 00 =E1......
>>0008: 08 00 00 00 49 00 53 00 ...I.S.
>>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>>0018: 32 00 00 00 00 00 00 00 2......
>>Can someone help me out here? Thanks...
>>
>>
>>..
>>
>>.
>.
>|||yeah, I missed the fact that you can backup even SQL shows error messages.
"Aaron" <aaron.osheroff@.marin.cc.ca.us> wrote in message
news:06fb01c36b4e$3bde2060$a101280a@.phx.gbl...
Thanks for the post, but this is not the problem...
>--Original Message--
>does the network share exist? See if you can run
>BACKUP DATABASE [HP_STUREC_MCC_CES] TO DISK
= 'c:\mybakup.bak'
>"Aaron" <aaron.osheroff@.marin.cc.ca.us> wrote in message
>news:064101c36b45$8a492230$a101280a@.phx.gbl...
>I have many databases that I can backup just fine on my
>SQL Server. However, there is one database that I cannot
>backup without the following message:
>"backup database is terminating abnormally".
>The strange thing is that the database really does get
>backed up despite the messages; I've even done restores
>from the backup.
>When I checked the event log, there are two errors.
>ONE:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (2)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>18210 :
>BackupDiskFile::RequestDurableMedia: failure on backup
>device '\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK'. Operating system
>error 64(The specified network name is no longer
>available.).
>Data:
>0000: 22 47 00 00 10 00 00 00 "G.....
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>and TWO:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (6)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>3041 :
>BACKUP failed to complete the command BACKUP DATABASE
>[HP_STUREC_MCC_CES] TO DISK = N'\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK' WITH INIT ,
>NOUNLOAD , NAME = N'HP_STUREC_MCC_CES backup', NOSKIP ,
>STATS = 10, NOFORMAT
>Data:
>0000: e1 0b 00 00 10 00 00 00 á......
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>Can someone help me out here? Thanks...
>
>
>..
>
>.
>|||Thank you!!! This works!
>--Original Message--
>If it works locally then would an option not be to back up locally and then
>move the backup file to the network share ? This would be quicker and
>probably less error prone. This is assuming you have the required local
>diskspace.
>-- >HTH
>Jasper Smith (SQL Server MVP)
>I support PASS - the definitive, global
>community for SQL Server professionals -
>http://www.sqlpass.org
>"Aaron" <aaron.osheroff@.marin.cc.ca.us> wrote in message
>news:064101c36b45$8a492230$a101280a@.phx.gbl...
>I have many databases that I can backup just fine on my
>SQL Server. However, there is one database that I cannot
>backup without the following message:
>"backup database is terminating abnormally".
>The strange thing is that the database really does get
>backed up despite the messages; I've even done restores
>from the backup.
>When I checked the event log, there are two errors.
>ONE:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (2)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>18210 :
>BackupDiskFile::RequestDurableMedia: failure on backup
>device '\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK'. Operating system
>error 64(The specified network name is no longer
>available.).
>Data:
>0000: 22 47 00 00 10 00 00 00 "G.....
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>and TWO:
>Event Type: Error
>Event Source: MSSQLSERVER
>Event Category: (6)
>Event ID: 17055
>Date: 8/25/2003
>Time: 08:23:59
>User: MARIN\aaronosheroff
>Computer: IS-DBS2
>Description:
>3041 :
>BACKUP failed to complete the command BACKUP DATABASE
>[HP_STUREC_MCC_CES] TO DISK =3D N'\\Ivcserv1
>\SqlServerBackups\HP_STUREC_MCC_CES.BAK' WITH INIT ,
>NOUNLOAD , NAME =3D N'HP_STUREC_MCC_CES backup', NOSKIP ,
>STATS =3D 10, NOFORMAT
>Data:
>0000: e1 0b 00 00 10 00 00 00 =E1......
>0008: 08 00 00 00 49 00 53 00 ...I.S.
>0010: 2d 00 44 00 42 00 53 00 -.D.B.S.
>0018: 32 00 00 00 00 00 00 00 2......
>Can someone help me out here? Thanks...
>
>
>..
>
>.
>|||The company were I work is ecperiencing the exact same error message
backing up our 30GB SQL Database. Backing up locally then transferring
to a network drive is not an option. Has anyone successfully resolved
this problem.
Thank you.
Posted via http://dbforums.com|||Amang,
I dont know if its a problem with my newsreader, but I dont see any error
description or the original post contents.What is the error that you are
facing?
--
Dinesh.
SQL Server FAQ at
http://www.tkdinesh.com
"amang" <member38559@.dbforums.com> wrote in message
news:3343101.1063031172@.dbforums.com...
> The company were I work is ecperiencing the exact same error message
> backing up our 30GB SQL Database. Backing up locally then transferring
> to a network drive is not an option. Has anyone successfully resolved
> this problem.
>
> Thank you.
>
> --
> Posted via http://dbforums.com

Backup fails using SMO with big databases

Hello
I'm seeing the backup using SMO fails with big databases (>15GB). I
have a 2GB database and I can see the command go thru. in Profiler but
after it's about 50-70% done, I get an exception saying backup failed.
There is no details on the SQLServer log.

Here's the code snippet:

bk.Initialize = m_backupInit;
bk.PercentCompleteNotification = 10;
bk.PercentComplete += new
PercentCompleteEventHandler(bk_PercentComplete);
bk.SqlBackup(m_Server);

Here's the command as captured by SQL-Profiler:
BACKUP DATABASE [Test_MODEL] TO DISK = N'D:\Temp
\Test_Model_Backup.dat' WITH NOFORMAT, INIT, NOSKIP, REWIND,
NOUNLOAD, STATS = 10

Has anyone else seen this. The wierd thing is it works using old SQL-
DMO.

thanks
SunitOn Feb 8, 11:42 pm, "sjoshi" <sjo...@.ingr.comwrote:

Quote:

Originally Posted by

Hello
I'm seeing the backup using SMO fails with big databases (>15GB). I
have a 2GB database and I can see the command go thru. in Profiler but
after it's about 50-70% done, I get an exception saying backup failed.
There is no details on the SQLServer log.
>
Here's the code snippet:
>
bk.Initialize = m_backupInit;
bk.PercentCompleteNotification = 10;
bk.PercentComplete += new
PercentCompleteEventHandler(bk_PercentComplete);
bk.SqlBackup(m_Server);
>
Here's the command as captured by SQL-Profiler:
BACKUP DATABASE [Test_MODEL] TO DISK = N'D:\Temp
\Test_Model_Backup.dat' WITH NOFORMAT, INIT, NOSKIP, REWIND,
NOUNLOAD, STATS = 10
>
Has anyone else seen this. The wierd thing is it works using old SQL-
DMO.
>
thanks
Sunit


I would check the event log as well, there may more information there.
I have too encountered situations which are similair, however, never
where there was absolutely no information in any of the typical log
locations. 15 gig is not paticulary large, I am sure there must be
more to it. What is the result when you execute via OSQL prompt?
Cheers,
Gsql

Backup fails for big databases

Hello

I'm seeing that the backup using SMO fails with big databases (>15GB).
I have a 20GB database and I can see the command go thru. in Profiler
but after it's about 50-70% done, I get an exception saying backup
failed. There is no details on the SQLServer log.

Here's the code snippet:

bk.Initialize = m_backupInit;
bk.PercentCompleteNotification = 10;
bk.PercentComplete += new
PercentCompleteEventHandler(bk_PercentComplete);
bk.SqlBackup(m_Server);

Here's the command as captured by SQL-Profiler:
BACKUP DATABASE [Test_MODEL] TO DISK = N'D:\Temp
\Test_Model_Backup.dat' WITH NOFORMAT, INIT, NOSKIP, REWIND,
NOUNLOAD, STATS = 10

Has anyone else seen this. The wierd thing is it works using old SQL-
DMO.

thanks
Sunit

Hi,

the standard timeout for the command is as far as I can remember 600 seconds, you can extend this by setting the following command:

Server svr = new Server(".");
svr.ConnectionContext.StatementTimeout = 6000;

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||That seems to have fixed it. Thanks a lot.

Sunit

Tuesday, March 27, 2012

backup faild to VDM

I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
am getting the following failure any idea.
2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
on backup device
'\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArch ive\MercuryArchive.bak'.
Operating system error 64(The specified network name is no longer
available.).
2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write,
pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArchi ve\MercuryArchive.bak
The connection to the backup server is dropping. It could be
a lot of things - the size of the backup file makes a
difference - large backup files can be problematic, the
hardware involved may not be able to handle the load of the
backup, if the destination is having resource issues you can
hit this error, or if you just have something unstable in
network mix, you can get dropped connections in general.
If you have the space and it's SQL Server having the problem
writing the backup across the network, you could try backing
up locally and then do a copy of the backup over to the
network location.
-Sue
On Mon, 2 Apr 2007 09:02:41 -0700, <msnews.microsoft.com>
wrote:

>I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
>am getting the following failure any idea.
>
>2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
>on backup device
>'\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArc hive\MercuryArchive.bak'.
>Operating system error 64(The specified network name is no longer
>available.).
>2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write,
>pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
>0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
>0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
>\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArch ive\MercuryArchive.bak
>

backup faild to VDM

I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
am getting the following failure any idea.
2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
on backup device
'\\Na00vdmdba01\ProductionBackup\PSSQL\M
ercuryArchive\MercuryArchive.bak'.
Operating system error 64(The specified network name is no longer
available.).
2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write,
pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
\\Na00vdmdba01\ProductionBackup\PSSQL\Me
rcuryArchive\MercuryArchive.bakThe connection to the backup server is dropping. It could be
a lot of things - the size of the backup file makes a
difference - large backup files can be problematic, the
hardware involved may not be able to handle the load of the
backup, if the destination is having resource issues you can
hit this error, or if you just have something unstable in
network mix, you can get dropped connections in general.
If you have the space and it's SQL Server having the problem
writing the backup across the network, you could try backing
up locally and then do a copy of the backup over to the
network location.
-Sue
On Mon, 2 Apr 2007 09:02:41 -0700, <msnews.microsoft.com>
wrote:

>I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
>am getting the following failure any idea.
>
>2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
>on backup device
> '\\Na00vdmdba01\ProductionBackup\PSSQL\M
ercuryArchive\MercuryArchive.bak'.
>Operating system error 64(The specified network name is no longer
>available.).
>2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write
,
>pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
>0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
>0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
> \\Na00vdmdba01\ProductionBackup\PSSQL\Me
rcuryArchive\MercuryArchive.bak
>

backup faild to VDM

I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
am getting the following failure any idea.
2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
on backup device
'\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArchive\MercuryArchive.bak'.
Operating system error 64(The specified network name is no longer
available.).
2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write,
pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArchive\MercuryArchive.bakThe connection to the backup server is dropping. It could be
a lot of things - the size of the backup file makes a
difference - large backup files can be problematic, the
hardware involved may not be able to handle the load of the
backup, if the destination is having resource issues you can
hit this error, or if you just have something unstable in
network mix, you can get dropped connections in general.
If you have the space and it's SQL Server having the problem
writing the backup across the network, you could try backing
up locally and then do a copy of the backup over to the
network location.
-Sue
On Mon, 2 Apr 2007 09:02:41 -0700, <msnews.microsoft.com>
wrote:
>I am doing a full backup if one of my DAtabases to Virtual backup (SAN) , I
>am getting the following failure any idea.
>
>2007-03-30 21:16:33.17 spid86 BackupMedium::ReportIoError: write failure
>on backup device
>'\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArchive\MercuryArchive.bak'.
>Operating system error 64(The specified network name is no longer
>available.).
>2007-03-30 21:16:33.20 spid86 Internal I/O request 0x67103D80: Op: Write,
>pBuffer: 0x0C760000, Size: 983040, Position: 116869634560, UMS: Internal:
>0x0, InternalHigh: 0xF0000, Offset: 0x35F91A00, OffsetHigh: 0x1B, m_buf:
>0x0C760000, m_len: 983040, m_actualBytes: 0, m_errcode: 64, BackupFile:
>\\Na00vdmdba01\ProductionBackup\PSSQL\MercuryArchive\MercuryArchive.bak
>sql

backup exec fails (though having the sql addon)

Hi group
Working with backup exec 10, sql agent and advanced open file options
included to backup our databases. We have 11 SQL databases varying in size
from 200 to 5000mb. There is one new dbase which is the database for a
website that is now not being backed up (size, approx 1.5 GB), this has
never worked since it was created last week.
(for now we are doing a full backup dump in non production hours to a
location that is backed up)
Additional info:
-Backupexec runs under a domain admin account
-SQL Server runs under another account
-owner for databases is domain admin
-2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
-backupexec shows fileskipped messages without specifying the file
-no usable info in eventvwr
-there are jobs running on this database (although not when the backup is
run)
-no locks/active connections are shown in the enterprise manager
Are there any issues with sql databases that are used by websites?
Has anybody have experienced similar problems and have a sollution available
that might work for me?
thx.
PerryPerry,
When you view the history for the backup job with BackupExec what error
message is recorded, if any?
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
Using? Are you using Enterprise Manager? If not, does that work? Any
errors in the SQL errorlog for the backup failing?
HTH
Jerry
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>|||Hi
Never use open file options against a SQL Server database as the DB and
Transaction log will never be restorable as they will not be in sync at a
point in time.
Backup the database to disk from within SQL Server (see BACKUP command in
BOL), or use the SQL Server maintenance wizard.
Backup the backup file files that SQL Server generated.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>|||Mike,
I have this same argument with my IT director. It's been one of those he
won't budge...I won't budge thing so...Veritas does have an agent for SQL
backups. We have the license but I've chosen not to use it (yet) not
because it doesn't work but because it is a bit more challenging and
involved. I do backup the databases using EM (jobs) then I use Veritas
BackupExec to backup the backup files to tape for off-site storage.
HTH
Jerry
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ObMOEeVxFHA.3756@.tk2msftngp13.phx.gbl...
> Hi
> Never use open file options against a SQL Server database as the DB and
> Transaction log will never be restorable as they will not be in sync at a
> point in time.
> Backup the database to disk from within SQL Server (see BACKUP command in
> BOL), or use the SQL Server maintenance wizard.
> Backup the backup file files that SQL Server generated.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>> Hi group
>> Working with backup exec 10, sql agent and advanced open file options
>> included to backup our databases. We have 11 SQL databases varying in
>> size from 200 to 5000mb. There is one new dbase which is the database for
>> a website that is now not being backed up (size, approx 1.5 GB), this has
>> never worked since it was created last week.
>> (for now we are doing a full backup dump in non production hours to a
>> location that is backed up)
>> Additional info:
>> -Backupexec runs under a domain admin account
>> -SQL Server runs under another account
>> -owner for databases is domain admin
>> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
>> -backupexec shows fileskipped messages without specifying the file
>> -no usable info in eventvwr
>> -there are jobs running on this database (although not when the backup is
>> run)
>> -no locks/active connections are shown in the enterprise manager
>> Are there any issues with sql databases that are used by websites?
>> Has anybody have experienced similar problems and have a sollution
>> available that might work for me?
>> thx.
>> Perry
>>
>>
>|||Jerry,
Below is what the log says, the servername is DC4, the databasename is
SYNERGY:
Job Completion Status
Job ended: Wednesday, September 28, 2005 at 8:36:41 PM
Completed status: Completed with exceptions
Errors
Click an error below to locate it in the job log
Backup- DC4 Database ?SYNERGY was not found, or could not be accessed.
Exceptions
Click an exception below to locate it in the job log
Backup- DC4 The item DC4\SYNERGY in use - skipped.Perry
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:u4j16tUxFHA.3740@.tk2msftngp13.phx.gbl...
> Perry,
> When you view the history for the backup job with BackupExec what error
> message is recorded, if any?
>> (for now we are doing a full backup dump in non production hours to a
>> location that is backed up)
> Using? Are you using Enterprise Manager? If not, does that work? Any
> errors in the SQL errorlog for the backup failing?
> HTH
> Jerry
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>> Hi group
>> Working with backup exec 10, sql agent and advanced open file options
>> included to backup our databases. We have 11 SQL databases varying in
>> size from 200 to 5000mb. There is one new dbase which is the database for
>> a website that is now not being backed up (size, approx 1.5 GB), this has
>> never worked since it was created last week.
>> (for now we are doing a full backup dump in non production hours to a
>> location that is backed up)
>> Additional info:
>> -Backupexec runs under a domain admin account
>> -SQL Server runs under another account
>> -owner for databases is domain admin
>> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
>> -backupexec shows fileskipped messages without specifying the file
>> -no usable info in eventvwr
>> -there are jobs running on this database (although not when the backup is
>> run)
>> -no locks/active connections are shown in the enterprise manager
>> Are there any issues with sql databases that are used by websites?
>> Has anybody have experienced similar problems and have a sollution
>> available that might work for me?
>> thx.
>> Perry
>>
>>
>

backup exec fails (though having the sql addon)

Hi group
Working with backup exec 10, sql agent and advanced open file options
included to backup our databases. We have 11 SQL databases varying in size
from 200 to 5000mb. There is one new dbase which is the database for a
website that is now not being backed up (size, approx 1.5 GB), this has
never worked since it was created last week.
(for now we are doing a full backup dump in non production hours to a
location that is backed up)
Additional info:
-Backupexec runs under a domain admin account
-SQL Server runs under another account
-owner for databases is domain admin
-2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
-backupexec shows fileskipped messages without specifying the file
-no usable info in eventvwr
-there are jobs running on this database (although not when the backup is
run)
-no locks/active connections are shown in the enterprise manager
Are there any issues with sql databases that are used by websites?
Has anybody have experienced similar problems and have a sollution available
that might work for me?
thx.
Perry
Perry,
When you view the history for the backup job with BackupExec what error
message is recorded, if any?

> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
Using? Are you using Enterprise Manager? If not, does that work? Any
errors in the SQL errorlog for the backup failing?
HTH
Jerry
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>
|||Hi
Never use open file options against a SQL Server database as the DB and
Transaction log will never be restorable as they will not be in sync at a
point in time.
Backup the database to disk from within SQL Server (see BACKUP command in
BOL), or use the SQL Server maintenance wizard.
Backup the backup file files that SQL Server generated.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>
|||Mike,
I have this same argument with my IT director. It's been one of those he
won't budge...I won't budge thing so...Veritas does have an agent for SQL
backups. We have the license but I've chosen not to use it (yet) not
because it doesn't work but because it is a bit more challenging and
involved. I do backup the databases using EM (jobs) then I use Veritas
BackupExec to backup the backup files to tape for off-site storage.
HTH
Jerry
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ObMOEeVxFHA.3756@.tk2msftngp13.phx.gbl...
> Hi
> Never use open file options against a SQL Server database as the DB and
> Transaction log will never be restorable as they will not be in sync at a
> point in time.
> Backup the database to disk from within SQL Server (see BACKUP command in
> BOL), or use the SQL Server maintenance wizard.
> Backup the backup file files that SQL Server generated.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>
|||Jerry,
Below is what the log says, the servername is DC4, the databasename is
SYNERGY:
Job Completion Status
Job ended: Wednesday, September 28, 2005 at 8:36:41 PM
Completed status: Completed with exceptions
Errors
Click an error below to locate it in the job log
Backup- DC4 Database ?SYNERGY was not found, or could not be accessed.
Exceptions
Click an exception below to locate it in the job log
Backup- DC4 The item DC4\SYNERGY in use - skipped.Perry
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:u4j16tUxFHA.3740@.tk2msftngp13.phx.gbl...
> Perry,
> When you view the history for the backup job with BackupExec what error
> message is recorded, if any?
>
> Using? Are you using Enterprise Manager? If not, does that work? Any
> errors in the SQL errorlog for the backup failing?
> HTH
> Jerry
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>

backup exec fails (though having the sql addon)

Hi group
Working with backup exec 10, sql agent and advanced open file options
included to backup our databases. We have 11 SQL databases varying in size
from 200 to 5000mb. There is one new dbase which is the database for a
website that is now not being backed up (size, approx 1.5 GB), this has
never worked since it was created last week.
(for now we are doing a full backup dump in non production hours to a
location that is backed up)
Additional info:
-Backupexec runs under a domain admin account
-SQL Server runs under another account
-owner for databases is domain admin
-2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
-backupexec shows fileskipped messages without specifying the file
-no usable info in eventvwr
-there are jobs running on this database (although not when the backup is
run)
-no locks/active connections are shown in the enterprise manager
Are there any issues with sql databases that are used by websites?
Has anybody have experienced similar problems and have a sollution available
that might work for me?
thx.
PerryPerry,
When you view the history for the backup job with BackupExec what error
message is recorded, if any?

> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
Using? Are you using Enterprise Manager? If not, does that work? Any
errors in the SQL errorlog for the backup failing?
HTH
Jerry
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>|||Hi
Never use open file options against a SQL Server database as the DB and
Transaction log will never be restorable as they will not be in sync at a
point in time.
Backup the database to disk from within SQL Server (see BACKUP command in
BOL), or use the SQL Server maintenance wizard.
Backup the backup file files that SQL Server generated.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Perry" <reply@.to.ng> wrote in message
news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
> Hi group
> Working with backup exec 10, sql agent and advanced open file options
> included to backup our databases. We have 11 SQL databases varying in size
> from 200 to 5000mb. There is one new dbase which is the database for a
> website that is now not being backed up (size, approx 1.5 GB), this has
> never worked since it was created last week.
> (for now we are doing a full backup dump in non production hours to a
> location that is backed up)
> Additional info:
> -Backupexec runs under a domain admin account
> -SQL Server runs under another account
> -owner for databases is domain admin
> -2003 server for SQL (2000/sp3a) and the webserver (IIS6.0)
> -backupexec shows fileskipped messages without specifying the file
> -no usable info in eventvwr
> -there are jobs running on this database (although not when the backup is
> run)
> -no locks/active connections are shown in the enterprise manager
> Are there any issues with sql databases that are used by websites?
> Has anybody have experienced similar problems and have a sollution
> available that might work for me?
> thx.
> Perry
>
>|||Mike,
I have this same argument with my IT director. It's been one of those he
won't budge...I won't budge thing so...Veritas does have an agent for SQL
backups. We have the license but I've chosen not to use it (yet) not
because it doesn't work but because it is a bit more challenging and
involved. I do backup the databases using EM (jobs) then I use Veritas
BackupExec to backup the backup files to tape for off-site storage.
HTH
Jerry
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ObMOEeVxFHA.3756@.tk2msftngp13.phx.gbl...
> Hi
> Never use open file options against a SQL Server database as the DB and
> Transaction log will never be restorable as they will not be in sync at a
> point in time.
> Backup the database to disk from within SQL Server (see BACKUP command in
> BOL), or use the SQL Server maintenance wizard.
> Backup the backup file files that SQL Server generated.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>|||Jerry,
Below is what the log says, the servername is DC4, the databasename is
SYNERGY:
Job Completion Status
Job ended: Wednesday, September 28, 2005 at 8:36:41 PM
Completed status: Completed with exceptions
Errors
Click an error below to locate it in the job log
Backup- DC4 Database ?SYNERGY was not found, or could not be accessed.
Exceptions
Click an exception below to locate it in the job log
Backup- DC4 The item DC4\SYNERGY in use - skipped.Perry
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:u4j16tUxFHA.3740@.tk2msftngp13.phx.gbl...
> Perry,
> When you view the history for the backup job with BackupExec what error
> message is recorded, if any?
>
> Using? Are you using Enterprise Manager? If not, does that work? Any
> errors in the SQL errorlog for the backup failing?
> HTH
> Jerry
> "Perry" <reply@.to.ng> wrote in message
> news:ejIiKnUxFHA.1032@.TK2MSFTNGP12.phx.gbl...
>

Sunday, March 25, 2012

backup error

Hi all,
Sql server 7.0
I have backup job which takes the backup of the databases
at particular time once in a day. when i go to the
destination i can see the backup is taken and find
the .bak file in it. but i am getting the following error
message in sql error logs pls help me in identifying and
resolving this problem
BackupVirtualDeviceSet::Initialize: Open failure on backup
device 'BackupExecSqlAgent_Bas_BBC_PUND_00'. Operating
system error -2147024894(The system cannot find the file
specified.).
TIASeems you are using BackupExec. I suggest you discuss this when them, as the error suggests that SQL
Server cannot write to the virtual backup device...
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"haseeb" <anonymous@.discussions.microsoft.com> wrote in message
news:b15001c499a2$4bdb4730$a601280a@.phx.gbl...
> Hi all,
> Sql server 7.0
> I have backup job which takes the backup of the databases
> at particular time once in a day. when i go to the
> destination i can see the backup is taken and find
> the .bak file in it. but i am getting the following error
> message in sql error logs pls help me in identifying and
> resolving this problem
> BackupVirtualDeviceSet::Initialize: Open failure on backup
> device 'BackupExecSqlAgent_Bas_BBC_PUND_00'. Operating
> system error -2147024894(The system cannot find the file
> specified.).
> TIA
>sql

Backup error

Hi all!
I take backup of a database every night using
"BACKUP DATABASE [Db1] TO DISK = N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT , NOUNLOAD , NAME = N'Db1 backup', NOSKIP , STATS = 10, NOFORMAT"
But some nights a have recived the following error message when I view the job history.
"'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups cannot be appended, but existing backup sets may still be usable. [SQLSTATE 42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed."
I have tried to delete the backup devices and created new ones. I am backing up close to twenty databases to the same folder every night. But I get error on a couple backup jobs every night, not the same ones every night. I have tride to run the jobs manually daytime and sometimes they run ok and sometimes they fails.
I have read the MS KB 290787 but i'm not sure if it answers my question. Does anybody has any more info/help/hints it would be greatly appriciated.
Thansk
FredrikSounds like you may have some disk issues. Have you checked the integrity
of that disk lately?
--
Andrew J. Kelly SQL MVP
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:46FACB20-2670-41DD-9452-CE9753680453@.microsoft.com...
> Hi all!
> I take backup of a database every night using
> "BACKUP DATABASE [Db1] TO DISK =N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT , NOUNLOAD , NAME =N'Db1 backup', NOSKIP , STATS = 10, NOFORMAT"
> But some nights a have recived the following error message when I view the
job history.
> "'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups
cannot be appended, but existing backup sets may still be usable. [SQLSTATE
42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE
42000] (Error 3013). The step failed."
> I have tried to delete the backup devices and created new ones. I am
backing up close to twenty databases to the same folder every night. But I
get error on a couple backup jobs every night, not the same ones every
night. I have tride to run the jobs manually daytime and sometimes they run
ok and sometimes they fails.
> I have read the MS KB 290787 but i'm not sure if it answers my question.
Does anybody has any more info/help/hints it would be greatly appriciated.
> Thansk
> Fredrik|||sounds like a hard drive issue (?) also is this device
mirrored?
Kevin
>--Original Message--
>Hi all!
>I take backup of a database every night using
>"BACKUP DATABASE [Db1] TO DISK =N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT ,
NOUNLOAD , NAME = N'Db1 backup', NOSKIP , STATS = 10,
NOFORMAT"
>But some nights a have recived the following error
message when I view the job history.
>"'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly
formatted. Backups cannot be appended, but existing backup
sets may still be usable. [SQLSTATE 42000] (Error 3266)
BACKUP DATABASE is terminating abnormally. [SQLSTATE
42000] (Error 3013). The step failed."
>I have tried to delete the backup devices and created new
ones. I am backing up close to twenty databases to the
same folder every night. But I get error on a couple
backup jobs every night, not the same ones every night. I
have tride to run the jobs manually daytime and sometimes
they run ok and sometimes they fails.
>I have read the MS KB 290787 but i'm not sure if it
answers my question. Does anybody has any more
info/help/hints it would be greatly appriciated.
>Thansk
>Fredrik
>.
>|||Hi Fredrik
I have a similar problem and was able to fix it, quick and simple.
I renamed the backup and log file
and re ran my backup job, it obviously was unable to append as the file was not fould (due to name change), this created new file
and the backup job suceeded.
Note before all this I manually backed up DB (FULL) and Log file (for each db that I had the problem for) Just in case :)
For completness my exact error was
Executed as user: [USER NAME]. The backup data in '[DB NAME]' is incorrectly formatted. Backups cannot be appended, but existing backup sets may still be usable. [SQLSTATE 42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed.
obviously i was able to delete all non required excess backup files after a few days as I was happy with my backups
Good Luck
Eoin B
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

Thursday, March 22, 2012

Backup error

Hi all!
I take backup of a database every night using
"BACKUP DATABASE [Db1] TO DISK = N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT , NOUNLOAD , NAME = N'Db1 backup', NOSKIP , STATS = 10, NOFORMAT"
But some nights a have recived the following error message when I view the job history.
"'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups cannot be appended, but existing backup sets may still be usable. [SQLSTATE 42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step fa
iled."
I have tried to delete the backup devices and created new ones. I am backing up close to twenty databases to the same folder every night. But I get error on a couple backup jobs every night, not the same ones every night. I have tride to run the jobs manu
ally daytime and sometimes they run ok and sometimes they fails.
I have read the MS KB 290787 but i'm not sure if it answers my question. Does anybody has any more info/help/hints it would be greatly appriciated.
Thansk
Fredrik
Sounds like you may have some disk issues. Have you checked the integrity
of that disk lately?
Andrew J. Kelly SQL MVP
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:46FACB20-2670-41DD-9452-CE9753680453@.microsoft.com...
> Hi all!
> I take backup of a database every night using
> "BACKUP DATABASE [Db1] TO DISK =
N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT , NOUNLOAD , NAME =
N'Db1 backup', NOSKIP , STATS = 10, NOFORMAT"
> But some nights a have recived the following error message when I view the
job history.
> "'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups
cannot be appended, but existing backup sets may still be usable. [SQLSTATE
42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE
42000] (Error 3013). The step failed."
> I have tried to delete the backup devices and created new ones. I am
backing up close to twenty databases to the same folder every night. But I
get error on a couple backup jobs every night, not the same ones every
night. I have tride to run the jobs manually daytime and sometimes they run
ok and sometimes they fails.
> I have read the MS KB 290787 but i'm not sure if it answers my question.
Does anybody has any more info/help/hints it would be greatly appriciated.
> Thansk
> Fredrik
|||Hi Fredrik
I have a similar problem and was able to fix it, quick and simple.
I renamed the backup and log file
and re ran my backup job, it obviously was unable to append as the file was not fould (due to name change), this created new file
and the backup job suceeded.
Note before all this I manually backed up DB (FULL) and Log file (for each db that I had the problem for) Just in case
For completness my exact error was
Executed as user: [USER NAME]. The backup data in '[DB NAME]' is incorrectly formatted. Backups cannot be appended, but existing backup sets may still be usable. [SQLSTATE 42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (E
rror 3013). The step failed.
obviously i was able to delete all non required excess backup files after a few days as I was happy with my backups
Good Luck
Eoin B
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
sql

Backup error

Hi all!
I take backup of a database every night using
"BACKUP DATABASE [Db1] TO DISK = N'\\server\e$\Backup\Databases\Db1\Db1
.bak' WITH INIT , NOUNLOAD , NAME = N'Db1 backup', NOSKIP , STATS = 10,
NOFORMAT"
But some nights a have recived the following error message when I view the j
ob history.
"'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups cann
ot be appended, but existing backup sets may still be usable. [SQLSTATE
42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTAT
E 42000] (Error 3013). The step fa
iled."
I have tried to delete the backup devices and created new ones. I am backing
up close to twenty databases to the same folder every night. But I get erro
r on a couple backup jobs every night, not the same ones every night. I have
tride to run the jobs manu
ally daytime and sometimes they run ok and sometimes they fails.
I have read the MS KB 290787 but i'm not sure if it answers my question. Doe
s anybody has any more info/help/hints it would be greatly appriciated.
Thansk
FredrikSounds like you may have some disk issues. Have you checked the integrity
of that disk lately?
Andrew J. Kelly SQL MVP
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:46FACB20-2670-41DD-9452-CE9753680453@.microsoft.com...
> Hi all!
> I take backup of a database every night using
> "BACKUP DATABASE [Db1] TO DISK =
N'\\server\e$\Backup\Databases\Db1\Db1.bak' WITH INIT , NOUNLOAD , NAME =
N'Db1 backup', NOSKIP , STATS = 10, NOFORMAT"
> But some nights a have recived the following error message when I view the
job history.
> "'\\server\e$\Backup\Db1\Db1\Db1.bak' is incorrectly formatted. Backups
cannot be appended, but existing backup sets may still be usable. [SQLST
ATE
42000] (Error 3266) BACKUP DATABASE is terminating abnormally. [SQLSTAT
E
42000] (Error 3013). The step failed."
> I have tried to delete the backup devices and created new ones. I am
backing up close to twenty databases to the same folder every night. But I
get error on a couple backup jobs every night, not the same ones every
night. I have tride to run the jobs manually daytime and sometimes they run
ok and sometimes they fails.
> I have read the MS KB 290787 but i'm not sure if it answers my question.
Does anybody has any more info/help/hints it would be greatly appriciated.
> Thansk
> Fredrik|||Hi Fredrik
I have a similar problem and was able to fix it, quick and simple.
I renamed the backup and log file
and re ran my backup job, it obviously was unable to append as the file was
not fould (due to name change), this created new file
and the backup job suceeded.
Note before all this I manually backed up DB (FULL) and Log file (for each d
b that I had the problem for) Just in case
For completness my exact error was
Executed as user: [USER NAME]. The backup data in '[DB NAME]' is inc
orrectly formatted. Backups cannot be appended, but existing backup sets may
still be usable. [SQLSTATE 42000] (Error 3266) BACKUP DATABASE is term
inating abnormally. [SQLSTATE 42000] (E
rror 3013). The step failed.
obviously i was able to delete all non required excess backup files after a
few days as I was happy with my backups
Good Luck
Eoin B
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine sup
ports Post Alerts, Ratings, and Searching.sql

Backup display

I created some backups for my databases and they show in the Enterprise Jobs
as Uncategorized [local]. All the Maintenance Plans show as Database
Maintenance.
I have about 10 of them and you can't tell which is which without going into
the properties.
Is there an easier way to see what backups you have set up and what the
status is?
Thanks,
Tom
I am not quite sure what you are asking. You have the ability to put what
ever description you want for any job. You also have the ability to set the
category or to even create a new custom category. So between those two
options you should certainly be able to do something descriptive enough to
group your jobs appropriately.
Andrew J. Kelly SQL MVP
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:%232QEfvx5FHA.884@.TK2MSFTNGP14.phx.gbl...
>I created some backups for my databases and they show in the Enterprise
>Jobs as Uncategorized [local]. All the Maintenance Plans show as Database
>Maintenance.
> I have about 10 of them and you can't tell which is which without going
> into the properties.
> Is there an easier way to see what backups you have set up and what the
> status is?
> Thanks,
> Tom
>

Backup display

I created some backups for my databases and they show in the Enterprise Jobs
as Uncategorized [local]. All the Maintenance Plans show as Database
Maintenance.
I have about 10 of them and you can't tell which is which without going into
the properties.
Is there an easier way to see what backups you have set up and what the
status is?
Thanks,
TomI am not quite sure what you are asking. You have the ability to put what
ever description you want for any job. You also have the ability to set the
category or to even create a new custom category. So between those two
options you should certainly be able to do something descriptive enough to
group your jobs appropriately.
--
Andrew J. Kelly SQL MVP
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:%232QEfvx5FHA.884@.TK2MSFTNGP14.phx.gbl...
>I created some backups for my databases and they show in the Enterprise
>Jobs as Uncategorized [local]. All the Maintenance Plans show as Database
>Maintenance.
> I have about 10 of them and you can't tell which is which without going
> into the properties.
> Is there an easier way to see what backups you have set up and what the
> status is?
> Thanks,
> Tom
>

Backup display

I created some backups for my databases and they show in the Enterprise Jobs
as Uncategorized [local]. All the Maintenance Plans show as Database
Maintenance.
I have about 10 of them and you can't tell which is which without going into
the properties.
Is there an easier way to see what backups you have set up and what the
status is?
Thanks,
TomI am not quite sure what you are asking. You have the ability to put what
ever description you want for any job. You also have the ability to set the
category or to even create a new custom category. So between those two
options you should certainly be able to do something descriptive enough to
group your jobs appropriately.
Andrew J. Kelly SQL MVP
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:%232QEfvx5FHA.884@.TK2MSFTNGP14.phx.gbl...
>I created some backups for my databases and they show in the Enterprise
>Jobs as Uncategorized [local]. All the Maintenance Plans show as Data
base
>Maintenance.
> I have about 10 of them and you can't tell which is which without going
> into the properties.
> Is there an easier way to see what backups you have set up and what the
> status is?
> Thanks,
> Tom
>sql

Backup Device vs backup command

Hi,

Will backup get completed quickly (the time taken for backing up large databases) on backup device or using backup command? If backup device, why?

You are talking about 2 different things here. You use the backup command to backup the DB and the backup device to store the backed up files.

Unless I dont understand your question.

|||Hi Dinakar,

I need to know which one completes backup faster, backup device or by using backup command. I heard that backup device completes backup quicker than using backup command.

Thanks|||

It's the same procedure, whether you commit it via a GUI (window menu->next->next...) or command prompt (BACKUP command) it makes no difference.

In both cases you use a backup device to backup your database. If you are a learner you'll probably use the user friendly windows menu. If you are advanced you'll probably use the SQL command: BACKUP

|||

Have you checked the same on your environment?

IMHO I don't see much difference in between and it makes a lot of difference betwen normal disks & RAID based ones.

BTW do you have any issues in your environment for such behaviour, if so let us know.

|||Hi Satya,

Im using RAID disks, when backing up 200GB of database, backup device completes faster than backup command. A 30 min difference..

Thanks|||If SQL Server stripes physical devices that have different input/output (I/O) throughputs, SQL Server optimizes for speed. This means that faster devices receive more backup data that is written to disk than the slower device in the same period of time. In SQL Server 2000, regardless of the I/O throughput differences, SQL Server tries to distribute the backup data evenly to the devices. In this case, the slower disk may become a backup bottleneck in terms of performance. If increasing performance is your primary goal, you must avoid using the slow disk in striping and use disks with comparable throughputs instead.

Tuesday, March 20, 2012

Backup Databases SQL

Good morning,
I am with some questions concerning Backup of SQL Server 2000 and 2005.
I wonder what the databases should be held back, outside the base of the
system itself, the master, you should hold back up any further, for example
model or msdb?
Thank you,
Sincerely,
Ralph HaddadI'm sorry, I don't really understand the question. What do you mean by 'hel
d
back'? Are you asking if there are any DBs that you shouldn't backup?
"Ralph Haddad" wrote:

> Good morning,
> I am with some questions concerning Backup of SQL Server 2000 and 2005.
> I wonder what the databases should be held back, outside the base of the
> system itself, the master, you should hold back up any further, for exampl
e
> model or msdb?
>
> Thank you,
> Sincerely,
> Ralph Haddad
>|||Good Afternoon,
I would like to know what the database should be done Backup? For example,
need make Backup of Database Model? Or database tempdb? master?
Thank you,
Sincerely,
Ralph Haddad
--
Ralph Haddad
"Sean McCown" wrote:
[vbcol=seagreen]
> I'm sorry, I don't really understand the question. What do you mean by 'h
eld
> back'? Are you asking if there are any DBs that you shouldn't backup?
>
> "Ralph Haddad" wrote:
>|||I understand now. While you don't have to backup model unelss you've done
something special to it, I like to anyway. But you can get it from any othe
r
server.
The only DB you can't actually backup is tempdb. Any other DB should be
backed up... esp the system DBs.
"Ralph Haddad" wrote:
[vbcol=seagreen]
> Good Afternoon,
> I would like to know what the database should be done Backup? For example
,
> need make Backup of Database Model? Or database tempdb? master?
>
> Thank you,
> Sincerely,
> Ralph Haddad
> --
> Ralph Haddad
>
> "Sean McCown" wrote:
>sql