Меню

Sql backup ошибка 3041

SQL Server 2016 Developer SQL Server 2016 Enterprise SQL Server 2016 Enterprise Core SQL Server 2016 Standard SQL Server 2017 on Windows (all editions) More…Less

Symptoms

When you back up a virtual machine (VM) with non-component based backup, you notice that the SQL Writer Service does not skip backing up Always On basic availability group databases on secondary. Additionally, you may receive the error log and SQL Writer Service trace that resemble the following:

Error log

Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE myDatabase. Check the backup application log for detailed messages.
Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE master. Check the backup application log for detailed messages.
Error: 18210, Severity: 16, State: 1.
BackupVirtualDeviceFile::PrepareToFreeze:  failure on backup device ‘{DeviceId}1′. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).
Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE model. Check the backup application log for detailed messages.
Error: 18210, Severity: 16, State: 1.
BackupVirtualDeviceFile::PrepareToFreeze:  failure on backup device ‘{DeviceId}2′. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).
Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE msdb. Check the backup application log for detailed messages.
Error: 18210, Severity: 16, State: 1.
BackupVirtualDeviceFile::PrepareToFreeze:  failure on backup device ‘{DeviceId}3′. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).

SQL Writer Service log


FilePath: **  SQLWRITER TRACING STARTED — ProcessId: #, ContextId: #
FilePath: **  N.B. NOT INITIALIZED BY THE CONSTRUCTOR
FilePath: **  Current time: #
FilePath: **  Command-line: «CommandLine«
FilePath: **  Product version: ProductVersion
FilePath: DoesInstanceSupportRANUUserInstances: Instance MSSQL13.MSSQLSERVER Edition: Standard Edition

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

Resolution

The issue is fixed in the following cumulative updates for SQL Server:

  • Cumulative Update 16 for SQL Server 2017

  • Cumulative Update 7 for SQL Server 2016 Service Pack 2

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the
hotfixes and all the security fixes that were included with the previous
cumulative update. Check out the latest cumulative updates for SQL Server:

  • Latest cumulative update for SQL Server 2017

  • Latest cumulative update for SQL Server 2016

References

Learn about the terminology that
Microsoft uses to describe software updates.

Need more help?

Summary: Microsoft SQL Database often gets stuck in nasty errors that can be difficult to resolve. In this article, we’ll focus on SQL database error 3041, what it is, reasons for database error 3041, and how to resolve it.

SQL Server 2017 has been developed with a lot of advanced features over its predecessors. It supports ANSI SQL, which is the standard SQL Language used worldwide. It is also called as MSSQL, and it has various editions like Enterprise, Standard, Workgroup, and Express. SQL Server’s main interface tool is SQL Server Management Studio, and it supports both 32-bit as well as 64-bit environments.

Despite having a rock-solid foundation and an impressive feature set, SQL Server Database often gets stuck in errors, some of which may be difficult to handle even for experienced DBAs. One such error is SQL database error 3041.

SQL Server error 3041 occurs when there is a backup failure. It might happen with the entire database backup or with specific parts of the database. It appears when the database backup is being generated. The error message provides a description of the backup failure in the error log and to the client application.

Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE master. 
Check the backup application log for detailed messages.

To understand the exact cause of the error, you will have to go through the SQL server error log entries which occurred before the 3041 error came up.

[Note]: The detailed error message does not get reported in the Application log.

Reasons behind SQL Server error 3041

Various reasons behind this error are listed below.

  • Running a third-party application to back up SQL Databases can cause this error. Applications like LiteSpeed and Unitrends can cause error 3041 as they use VDI/VSS and VSS writer for backing up the database.
  • This error comes up when the backup path doesn’t exist. For example, D:Backup is the folder location for the backup. If it doesn’t exist there anymore, or you are using an incorrect path, it will result in this error.
  • If the backup file is locked by any other process, then the backup process will fail and result in this error.
  • If there are permission issues with the backup folder, restricting the account with which you are trying to back up the database.
  • If the database log space is not sufficient, it will result in error 3041. The database will remain busy in increasing the log size space, and thus backup task will not be successful.
  • When you have migrated to a newer version of SQL database, this error might come up.

How to solve SQL database error 3041?

As we have seen the reasons behind the error, now let us see how we can resolve this error. You can use the below fixes one by one and see if it resolves the issue.

Fix 1: Take a full native backup

Firstly, take a full native backup of your database using the SQL Server Management Studio. You can also use the Query Analyzer for the same.

Once you have taken the full backup, you need to restart the VSS writer from the third-party applications. Now backup the model database from the third-party applications and the transaction backup log should be successful.

Fix 2: Check the location of the backup path

Ensure that the backup path location that you are using is correct and the folder exists there. Also, make sure that there are no trailing spaces in the folder name, as it can result in mismatch while the backup process is going on.

Fix 3: Check if the backup file is locked

If your backup file is locked by any other process, then you need to close the file. Here are the steps to close the file.

  1. Go to Computer Management.
  2. Navigate to System Tools -> Shared Folders.
  3. Open Files. There you can see the backup files.
  4. Right-click the backup file and click “Close.”

Once the above steps are complete, you can take the backup. If the backup is still not successful, then you will have to stop client scheduler and client acceptor services. Here are the steps to do so.

  1. Go to Computer Management.
  2. Navigate to Services and Applications.
  3. Go to Services -> Client acceptor and scheduler.
  4. Stop services.
  5. Go to the backup folder and then delete the file.
  6. Now start the services again and try taking up the backup.

Fix 4: Grant full control on the backup folder

You need to provide full control on the SQL Server service account as well as the account using which you are trying to take the backups. If the permissions are restricted, you won’t be able to take the backup successfully.

Fix 5: Check database log space

When a backup is performed on the SQL Server database, there is a corresponding entry created in MSDB backup set table. You need to make sure that the log files and data of MSDB is not set to auto-growth. If it set to auto-growth, you need to disable it.

Also, make sure there is a sufficient amount of free space on the disk drive where the MSDB files are generated. After doing so, you can reschedule the backup job.

Fix 6: Check for corruption in the database

The database should be free from any type of corruption. Therefore, check for all the configuration changes you have made, and make sure that you restart the system whenever a new database is added to the server and full back up is taken after restarting the machine.

If you find that there is corruption in the database, the best way to resolve it is by using Stellar Repair for MS SQL. This advanced SQL Database Repair software detects the root cause of database corruption and rectifies it to resolve database corruption. The tool is equipped with an interactive GUI which makes working with it extremely easy.

To Conclude

SQL Database error 3041 can occur anytime when you are trying to take a backup of your database. So, if you run into trouble with this error, you can use the fixes mentioned above to resolve it. So, what are your views on this? Do let us know in the comments section below.

Please, Take a look here:
How to troubleshoot «Msg 3041» in SQL Server

Excerpt from page:

Message 3041 is a generic report about the backup failure. To
understand the cause of the error and resolve it, you must use the SQL
Server Error log entries that occur before the 3041 event entry.
Typically, 3041 is preceded by a detailed error message that states
the real reason for the backup failure. The detailed error messages
are written only to the SQL Server error log and to the client
application. The detailed message is not reported in the Application
log in Windows.

Update (After reading @dezso comment)
I’ve seen the «extra error» reported, but I’m not sure that they are related to the backup error. The backup error is dated at 20:31:06, but the «extra error» are dated at 17:53:27, so the extra error happened about 2 hours and 40 minutes before the actual backup error. And these extra error are related to a logon issue.

I don’t think that a logon issue happening at 17:53:27 could result in a backup failing at 20:31:06. So a think that the backup error, and that the «extra error» are unrelated.

I also don’t think that a generic error happening at 17:53:27 could result in a backup failing at 20:31:06 (unless the DB is really big).
@Arviddk report that «my SQL Server backup keeps failing on a lot of the databases» I think it’s safe to assume that «a lot» mean more than 10 DB.
So I think that if a single backup of a single DB take more than 2 hours and 40 minutes, you cant have 10 or 20 DB like that on a single server… or your server will spend it’s life doing only backup. So I assumed that the single backup take a lot less than 2 hours and 40 minutes, so I think that the backup error and the extra error are not related.

And the last «cachestore flush / ‘Bound Trees'» error reported is dated at 06-11-2012 20:30:11, so it’s something happened after the backup error. Anyway a problem related to the cache shouldn’t result in an error (event if it can slow down something).

Some questions
Some questions that could help identify the issue:

  • How much time does it take a FULL backup to execute?
  • How much time does it take a DIFF backup to execute?
  • Does the error happen only on DIFF backup?
  • Which percentage of backup does fail? (1%? 10% 50%)
  • Maybe you can try to only do FULL backup to check if it’s an issue related to the DIFF backup? (I’ve never done any DIFF backup on SQL Server, I don’t have experience with them)

According to the MS website in the SQL Server log there should be some others error related to the failed backup, but I’m expecting something more near, in time, to the time at which the backup is failing.

  • Remove From My Forums
  • Question

  • ISSUE: Error: 3041, Severity: 16, State: 1. Check the backup application log

    All was runing fine before that.

    Our transaction log Native backup job suddenly started failing on SQL Server 2005 sp3 with version 9.0.4226.

    ERRORLOG :

    ==============================================================

    20091201 17:05:33.150 Backup       Error: 3041, Severity: 16, State: 1.

    20091201 17:05:33.150 Backup       BACKUP failed to complete the command BACKUP LOG xTract. Check the backup application log for detailed messages.

    ==============================================================

    • Moved by

      Wednesday, December 2, 2009 3:18 AM
      (From:MSDN, TechNet, and Expression Profile Feedback)

    • Changed type
      Naomi N
      Monday, November 28, 2016 5:23 AM
      question

SQL Backup Error 3041 – Top Ways to Fix MS SQL Server Error

This blog will provide the complete and easiest way to fix SQL backup error 3041. Simply read the complete article carefully to get rid of this error immediately. Stay tuned!

MS SQL Backup Error 3041 – Know What Exactly it is

Backup error 3041 is a generic error that is returned when a backup fails. Along with this error, there are additional errors returned and can be found in the SQL Server log, so we can also call it SQL server backup log error 3041.

After understanding about this MS SQL backup error. Now, let’s proceed further to know more about this issue with the help of user’s real-time scenario.

User’s Real-time Scenario

#Query 1: Hi, currently I am working on to resolve this error:

Error: 3041, Severity: 16, State: 1 BACKUP failed to complete the command BACKUP DATABASE WITH DIFFERENTIAL. Check the backup application log for detailed messages.

I had a full backup of the database, but somehow I failed earlier today in the morning. I checked the event viewer which also indicates to check the backup application log. So, how to check backup application log? Or any ideas to solve this MS SQL 3041 backup error problem. If yes? then please suggest me. Thank you very much in advance

#Query 2: Backup Error: 3041, Severity: 16, State: 1.

This SQL error 3041 backup failed message prompts after I failed from taking backup. Now, I need an efficient solution to fix this issue. Thanks.

Quick Solution: In some cases, this MS SQL backup error 3041 occurs due to the corruption issues. So, you should check that database is free from any type of corruption.

However, you should check all the configuration changes you have made. Also, be sure to reboot the system every time a new database is added to the server and a full backup is performed after rebooting the local system.

Note: The above-stated solution is not a proficient one to fix SQL server backup failed error 3041. So, in this situation, you can choose an alternative method to get satisfactory results. In the oncoming section, we will discuss the same. Get a quick look:

An Eminent Way to Fix SQL Backup Error 3041 Without Data Loss

After considering the above-mentioned queries we would like to provide you a rapid solution named SQL Backup Recovery. Using this amazing utility, you can easily get rid of this SQL backup error 3041 without data loss.

The tool has an explanatory and understandable interface. O, any user either novice or technical can operate it without taking any expertise help. However, you can download it on any Windows OS machine because it extensively supports all editions of Windows Operating System.

So, let’s proceed ahead to the oncoming section, where we will disclose the steps to fix SQL error 3041 backup failed.

Steps to Resolve SQL Server Backup Failed Error 3041 Issue

Here, in this section, we will disclose the instruction to fix SQL server backup log error 3041. You just have to follow all the steps to execute the procedure. Let’s begin:

Step 1: Download free demo version of the eminent utility by selecting the download button.

Download Now Purchase Now

Step 2: Click Browse button to add SQL Server BAK files. Then, select the version of your SQL backup file.

Step 3: Now, choose the Multiple Backup file options to backup and export multiple BAK files at once.

Step 4: Select the preferred files and click on the Recover button to backup file which is corrupted and showing error.

Step 5: After completion of the scanning and recovering data components process. Opt the desired elements and hit on the Export button.

Step 6: Choose Export to between SQL Server Database and SQL Server Compatible SQL Scripts. And opt Database Authentication option then, add all the details.

Step 7: Click on the required SQL database items and choose export option between with Schema & Data and With only Schema.

Step 8: Press the Export button to export recovered backup file to the SQL Server Database.

Step 9: At last, the application will pop-up a message after successful completion of the backup procedure.

Attention Note: The free download version allows you to export only 25 records. So, it is better to go with the purchase edition of the application.

Concluding Thoughts

How to fix SQL backup error 3041? It is a most commonly asked query by the MS SQL users. SQL server backup failed error 3041 can be occur anytime to anyone. So, by performing the above-suggested solutions, you can fix this SQL error 3041 backup failed without any data loss.

If you have had a run-in with the SQL Server Backup Error 3041 and you are not sure what to do, worry not. Our in-house experts have put together this guide to help you out. Our SQL Server Support team is here to offer a lending hand with your queries and issues.

All About SQL Server Backup Error 3041

The Backup Error 3041 often pops up when a backup fails. In addition to this error message, we will find additional errors on the SQL Server log. Hence it is referred to as SQL server backup log error 3041.

SQL Server Backup Error 3041

Before we dive into the solution, let’s take a look at the possible causes behind Error 3041:

  • Using a third-party application to backup SQL databases can result in this error. For example Litespeed, Unitrends, and so on.
  • If the backup path does not exist.
  • The backup file has been locked by another process.
  • The account is restricted from accessing the backup folder due to permission issues.
  • If there is insufficient database log space.
  • A recent migration to a newer version of SQL database.

How to solve SQL Server Backup Error 3041

Since the SQL Server Backup Error 3041 may be due to any one of the reasons mentioned above, the solution also differs according to the cause. Let’s take a look at each solution for this error:

  • Take a full backup

    Rather than relying on a third-party application, our experts recommend taking a full native backup of the database. This can be done via SQL Server Management Studio or Query Analyzer.

  • Verify the backup path location

    We have to check that the backup path location is accurate and the folder is in the mentioned location.

  • Verify the backup file is not locked

    We have to ensure the file is not locked by another process. If it is locked, follow these steps:

    1. Head to Computer Management.
    2. Then, go to Shared Folders under System Tools.
    3. Next, open Files and right-click the backup file, and click Close.

    The backup process should be successful after following the above steps. If not we have to stop client acceptor and client scheduler services with these steps to avoid SQL Server Backup Error 3041:

    1. Head to Computer Management.
    2. Then, go to Services and Applications and navigate to Services > Client acceptor and scheduler.
    3. Next, stop the services.
    4. After that. Return to the backup folder and delete the file.
    5. Restart the service and try to take a backup now.
  • Verify there is sufficient database log space

    Ensure that log files and data of MSDB have not been set to auto-growth. If yes, disable it. There also should be enough free space on the disk drive where the MSDB files are created.

  • Check for corruption

    Any form of database corruption can lead to a backup error.

Let us know in the comments which solution helped resolve SQL Server Backup Error 3041 at your end.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In conclusion, our Support Engineers took us through the different causes behind SQL Server Backup Error 3041. We also got a look at how to solve these issues to prevent the error from occurring.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

Question : An error message has started appearing in the SQL Server Error Logs during a nightly full backup.

Could not clear ‘DIFFERENTIAL’ bitmap in database ‘Database1’ because of error 9002. As a result, the differential or bulk-logged bitmap overstates the amount of change that will occur with the next differential or log backup. This discrepancy might slow down later differential or log backup operations and cause the backup sets to be larger than necessary. Typically, the cause of this error is insufficient resources. Investigate the failure and resolve the cause. If the error occurred on a data backup, consider taking a data backup to create a new base for future differential backups.

As suggested in the error message — I checked for insufficient resources and the first thing I checked was disk resources. In fact — there was only 2 MB left for the drive associated with the transaction log file.    I attempted a LOG BAKBUP but this failed , so I attempted a Shrink file on the transaction log file and a new error appeared related to : The transaction log for database is full due to LOG_BACKUP 

Reading that post outlined a few potential ideas . How should I progress?

Answer: The most important point about the ideas suggested in The transaction log for database is full due to LOG_BACKUP  , is to pick the most effective method for the particular details.

Based on information you’ve supplied — and the safest,  is to opt for make some extra disk space available — either through manipulating another database file on the same drive . Once you’ve confirmed some extra space , than issue the BACKIP LOG command. 

I like to be ultra — cautious on fixing these type of issues i.e do I have a recovery point and   proper review of underlying causes and understanding the root cause .

Apply the  FORDEC decision making process

Author: Tom Collins (http://www.sqlserver-dba.com)

Share:

September 22, 2011 at 1:58 pm

#257722

My backups have been failing and I noticed the following in the SQL ERRORLOG

2011-09-21 22:13:49.70 Backup Database backed up. Database: …

2011-09-21 22:13:50.68 Backup Database backed up. Database: …

2011-09-21 22:13:51.86 Backup Database backed up. Database: …

2011-09-21 22:29:25.51 Backup Error: 3041, Severity: 16, State: 1.

2011-09-21 22:29:25.51 Backup BACKUP failed to complete the command BACKUP DATABASE XXXXX. Check the backup application log for detailed messages.

There is no other information as to what might be causing this.

Where is the backup application log??

__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements — System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

george sibbald

SSC Guru

Points: 104210

thats a darn good question and I don’t know why its been made harder to find out something important such as why a backup failed, all the info should be in the errorlog. I can only think that they mean any associated errors that might be in the errorlog (such as OS error 112) or they mean any log file you might have your backup job writing to (log file from a maintenance plan for example).

Otherwise there is in fact no such thing as a ‘backup application log’

———————————————————————

Lynn Pettis

SSC Guru

Points: 442453

Are you using native SQL Server backups or are you running a third party backup application (LiteSpeed, et. al.)?

Marios Philippopoulos

SSC Guru

Points: 57190

george sibbald (9/22/2011)


thats a darn good question and I don’t know why its been made harder to find out something important such as why a backup failed, all the info should be in the errorlog. I can only think that they mean any associated errors that might be in the errorlog (such as OS error 112) or they mean any log file you might have your backup job writing to (log file from a maintenance plan for example).

Otherwise there is in fact no such thing as a ‘backup application log’

I wanted to say this but didn’t originally: makes for a fancy error message with no meaning… 🙂

Very frustrating…

__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements — System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Marios Philippopoulos

SSC Guru

Points: 57190

Lynn Pettis (9/22/2011)


Are you using native SQL Server backups or are you running a third party backup application (LiteSpeed, et. al.)?

I’m using native backups.

__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements — System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Gail Shaw

SSC Guru

Points: 1004494

Job history?

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Marios Philippopoulos

SSC Guru

Points: 57190

GilaMonster (9/22/2011)


Job history?

The history log of the failure is not very helpful:

Message

Executed as user: xxxxxxxx. …_Content’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 4035) Processed 68 pages for database ‘xxxx’, file ‘xxxx_log’ on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE successfully processed 3892612 pages in 713.620 seconds (44.685 MB/sec). [SQLSTATE 01000] (Message 3014) Processed 10720 pages for database ‘xxxx’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 4035) Processed 7 pages for database ‘xxxx’, file ‘xxxx_log’ on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE successfully processed 10727 pages in 4.367 seconds (20.121 MB/sec). [SQLSTATE 01000] (Message 3014) Processed 12136 pages for database ‘xxxx’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 403… The step failed.

However, I had turned on logging to a txt file for the job step, and that gave me the answer.

We are using a routine to prune old backup files before backing up a database, and the pruning step failed because it was unable to delete a backup file that was locked by another process; I am suspecting that our file-system backup is the «other process» that was locking the file.

Lesson from this: turn on job-step logging, as it will provide more info than the SQL ERRORLOG or job history. 🙂

Thanks all for your responses!

__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements — System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

george sibbald

SSC Guru

Points: 104210

Marios Philippopoulos (9/22/2011)


GilaMonster (9/22/2011)


Job history?

The history log of the failure is not very helpful:

Message

Executed as user: xxxxxxxx. …_Content’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 4035) Processed 68 pages for database ‘xxxx’, file ‘xxxx_log’ on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE successfully processed 3892612 pages in 713.620 seconds (44.685 MB/sec). [SQLSTATE 01000] (Message 3014) Processed 10720 pages for database ‘xxxx’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 4035) Processed 7 pages for database ‘xxxx’, file ‘xxxx_log’ on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE successfully processed 10727 pages in 4.367 seconds (20.121 MB/sec). [SQLSTATE 01000] (Message 3014) Processed 12136 pages for database ‘xxxx’, file ‘xxxx’ on file 1. [SQLSTATE 01000] (Message 403… The step failed.

However, I had turned on logging to a txt file for the job step, and that gave me the answer.

We are using a routine to prune old backup files before backing up a database, and the pruning step failed because it was unable to delete a backup file that was locked by another process; I am suspecting that our file-system backup is the «other process» that was locking the file.

Lesson from this: turn on job-step logging, as it will provide more info than the SQL ERRORLOG or job history. 🙂

Thanks all for your responses!

so I was right then!

———————————————————————

Marios Philippopoulos

SSC Guru

Points: 57190

george sibbald (9/22/2011) so I was right then!

Yes! 😉

__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements — System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

rao2506

Valued Member

Points: 59

The problem here is the backup file was locked, we need to close the file.

Steps to close the file:

Computer Management—>>System Tools—>Shared Folders—>>Open Files—>(here we can see our back up file)—>>right click—>>Close Open file

Now take backup, if backup doesn’t go through then we need stop the services of client scheduler and client Acceptor

Computer Management—>>Services and Applications—>>Services—>>find the client acceptor and scheduler, stop the services go to backup folder and delete the file, start the services back and take a backup

Cheers…!!!

Gail Shaw

SSC Guru

Points: 1004494

Please note: 2 year old thread

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

We do  get the following error message while performing backups via maintenance plans.

Error: 3041, Severity: 16, State: 1.
BACKUP failed to complete the command BACKUP DATABASE DBApp. Check the backup application log for detailed messages.

When the above error occurs we should not  just ignore this from now on as long as the Database is listed in the backup folder?

Solution:

Error: 3041, Severity: 16, State: 1. BACKUP failed to complete the command BACKUP DATABASE DBApp. Check the backup application log for detailed messages.

  • You will get the above error message whenever your database is in a offline state but still present in the backup maintenance plan.
  • So if you get the above error; kindly check the state of the database and if it is in “OFFLINE” state, please remove it from the maintenance plan.
  • You can also use the following T-SQL in order to check the database details.

select * from sys.databases where name =’YourDatabaseName’

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Sql attach database ошибка
  • Sql 233 ошибка входа пользователя