RE: Backup Failed

From: Mike Epprecht (SQL MVP) (mike_at_epprecht.net)
Date: 01/24/05


Date: Mon, 24 Jan 2005 08:11:05 -0800

Hi

Anti-Virus and Backup software can hold locks on a file. Check that AV
excludes the SQL files (.MDF, LDF, NDF and BAK)

Check if your backup software is still running it's backup (some badly
behaved backup agents don't release locks if the backup aborts).

Regards
Mike

"MS User" wrote:

> SQL 2K
>
> We are having an issue with our data warehouse database failing on backup
> with
>
>
> 2005-01-23 09:53:25.64 spid55 BackupMedium::ReportIoError: write failure
> on backup device
> 'D:\SqlData\MSSQL$WAREHOUSE1\BACKUP\My_db_200501230900.BAK'. Operating
> system error 33(The process cannot access the file because another process
> has locked a portion of the file.).
> 2005-01-23 09:53:25.67 spid55 Internal I/O request 0x3D80DAE8: Op: Write,
> pBuffer: 0x153C0000, Size: 983040, Position: 47255394816, UMS: Internal:
> 0x103, InternalHigh: 0x0, Offset: 0xA41A00, OffsetHigh: 0xB, m_buf:
> 0x153C0000, m_len: 983040, m_actualBytes: 0, m_errcode: 33, BackupFile:
> D:\SqlData\MSSQL$WAREHOUSE1\BACKUP\My_db_200501230900.BAK
> 2005-01-23 09:53:25.69 backup BACKUP failed to complete the command
> BACKUP DATABASE [INFO_PROD] TO DISK =
> N'D:\SqlData\MSSQL$WAREHOUSE1\BACKUP\My_db_200501230900.BAK' WITH INIT ,
> NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT
>
>
> Last week we had the same issue and rebooting the server did helped.
>
> Any thoughts on this lock on the backup file.
>
> Thanks
> Robert
>
>
>



Relevant Pages

  • Potential Final Roster
    ... PHILADELPHIA - Special teams will matter. ... staff go over the team's roster, the more a backup can do, the better his ... Quarterbacks Locks: Donovan McNabb. ... On the Bubble: Correll Buckhalter, Bruce Perry, Jon Ritchie, Josh Parry. ...
    (alt.sports.football.pro.phila-eagles)
  • Re: Creating specific users
    ... The minimum rights a user account needs is: ... db_denydatareader (don't need but locks down) ... Alternatively you can set it up as a backup device. ... seem to have to grant sys admin rights in order for the user to be able to ...
    (microsoft.public.sqlserver.security)
  • RE: Backup Failed
    ... Anti-Virus and Backup software can hold locks on a file. ... excludes the SQL files (.MDF, LDF, NDF and BAK) ...
    (microsoft.public.sqlserver.programming)
  • RE: Backup Failed
    ... Anti-Virus and Backup software can hold locks on a file. ... excludes the SQL files (.MDF, LDF, NDF and BAK) ...
    (microsoft.public.sqlserver.server)
  • >>>> BACKUP DOWNLOAD <<<<
    ... direct download, 8525 download backup, active backup 1.90 download, ... exe 9 remote agent download, backup exec 10d download, backup exec 10d ... program cd downloads, backup serial free download mac, backup software ...
    (rec.music.classical.guitar)