#1 Global Leader in Data Resilience

Oracle Database Backup Fails With Event ID 44

KB ID: 2686
Product: Veeam Backup & Replication
Veeam Agent for Microsoft Windows
Published: 2018-07-12
Last Modified: 2024-11-13
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

Veeam Backup & Replication or Veeam Agent for Microsoft Windows jobs with Application-Aware Processing fail to process a Windows guest with Oracle database installed.

The following symptoms are observed.

  • The job fails with this or a similar error:
    Creating VSS snapshot Error: Failed to create snapshot: Backup job failed.
    Cannot create a shadow copy of the volumes containing writer's data.
    A VSS critical writer has failed. Writer name: [Oracle VSS Writer - ORCL]. Class ID: [{26d02976-b909-43ad-af7e-62a4f625e372}].
    Instance ID: [{f58dfa7d-06fa-485c-87fb-29649223a590}]. Writer's state: [VSS_WS_FAILED_AT_PREPARE_BACKUP]. Error code: [0x800423f4].
    
  • At the same time, you observe a critical event with EventID 44 in the "Application" Windows event log on the machine:
    Log Name: Application
    Source: Oracle.VSSWriter.ORCL
    Date:  5/30/2018 5:04:03 AM
    Event ID: 44
    Task Category: (255)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: DB.VEEAM.LOCAL
    Description:
    VSS-00044: Database in NOARCHIVELOG mode must be in a consistent state for backup.  
     Cause : The database was open read/write or mounted after a SHUTDOWN IMMEDIATE or SHUTDOWN ABORT.  
     Action : Either mount the database in a consistent state or open it read-only to back up the database files.
    Creating VSS snapshot Error: Failed to create snapshot: Backup job failed.
    Cannot create a shadow copy of the volumes containing writer's data.
    A VSS critical writer has failed. Writer name: [Oracle VSS Writer - ORCL]. Class ID: [{26d02976-b909-43ad-af7e-62a4f625e372}].
    Instance ID: [{f58dfa7d-06fa-485c-87fb-29649223a590}]. Writer's state: [VSS_WS_FAILED_AT_PREPARE_BACKUP]. Error 
    

Cause

This error appears only for databases operating in NOARCHIVELOG mode. A database operating in NOARCHIVELOG mode cannot be backed up when it’s in an inconsistent state.

The Oracle VSS Writer detects the state of the database prior to creating a shadow copy and refuses the shadow copy if the database is in an inconsistent state.

Solution

This VSS failure is triggered by the Oracle VSS Writer component.

  • If the database needs to be kept in NOARCHIVELOG mode, there is no proper fix from the Veeam configuration side, as Oracle provides this component and does its own checks before database processing. To properly resolve this issue, a database administrator would need to return the database to a consistent state.
  • Alternatively, the database could be switched to enable ARCHIVELOG mode.

More Information

Workaround
There is a workaround to skip this Oracle VSS Writer failure.
However Please note that doing so you accept all liability and affirm that you are using a different method to backup and protect the databases.

The following workaround will disable Oracle Database Processing for an individual machine:

  1. Ask your DBA to remove the Oracle VSS Writer, which is responsible for this Oracle database.
  2. Instruct Veeam to stop processing Oracle information in this guest machine. On the guest machine, add a REG_DWORD with the name DisableOracleProcessing and a value of 1.
    • For guests backed up by Veeam Backup & Replication, add the key to ‘HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication’.

      Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
      Value Name: DisableOracleProcessing
      Value Type: DWORD (32-Bit) Value
      Value Data: 1
    • For guests backed up by Veeam Agent for Microsoft Windows, add the key to ‘HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup’ and restart Veeam Agent for Microsoft Windows service on that guest.

      Key Location: HKLM\xxx\yyy\zzz
      Value Name: DisableOracleProcessing
      Value Type: DWORD (32-Bit) Value
      Value Data: 1

However, please note the following restrictions:

  • Your database files for this particular Oracle SID will still be in an inconsistent state and may be unrecoverable.
  • Database properties will not be collected for any database on this server. As a result, no Oracle archived redo log backup or database restore using Veeam Explorer for Oracle is possible.
  • If any other database doesn’t have a VSS writer installed, database files for such databases may be in a crash-consistent state, too.

By doing this, you confirm that a different or native RMAN solution is backing up such databases. It’s important to keep databases in a consistent state in order to be able to restore them. You can choose to refer this task to your DBA or Oracle support if necessary.

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.