Skip to main content

Issue with Oracle backup

Thread needs solution

I have a virtual machine with windows server and an oracle database inside.

I am succesfully using Acronis Cyber Backup in a lot of environments.

If I try to backup it with Agent for ESXI i get the following error:"vStorage APIs" feature is not installed on the server" 

Can I have confirmation that if I buy VMware vSphere Essentials Kit, I will be able to run backups with Acronis Cyber Backup, and not have the "vStorage APIs" feature is not installed on the server" issue?

On a second attempt I tried with Agent for Oracle installed inside the machine, but I get an Oracle VSS error.

How can I circumvent that?

Kindest Regards.

 

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 0
Comments: 2016

Hello Hoygen,

thank you for posting on Acronis forums!

Acronis software uses snapshots executed by the hypervisor while taking the virtual machine backup. 

To back up your VM server with Acronis Agent for ESX/ESXi or Acronis Agent for VMware, you need the VMware vStorage APIs to be installed on the ESX/ESXi server, as this option is not available in the free version of VMware ESXi. Due to this, Acronis Agent for ESX/ESXi cannot function in the free VMware ESXi.

As a workaround, you can back up this server with the help of Acronis Agent for Windows installed inside that VM.

Please read these KB articles for more details: 

https://kb.acronis.com/content/21015

https://kb.acronis.com/content/14931

On a second attempt I tried with Agent for Oracle installed inside the machine, but I get an Oracle VSS error.

You should start with investigating this issue. Even when you use vSphere APIs feature, it will call Microsoft VSS writers which will call for Oracle VSS writer. We recommend running Acronis VSS Doctor for diagnostic of VSS errors. Please also share with us a detailed activity log with the error.

 

 

Hello,

here is the report from acronis doctor.

But it is not mentioning the error I saw in the previous backups.

 

REPORT:

2020-07-01 10:27:00 GMT+02:00
AcronisVSSDoctor-net45, 1.0.39.0, v4.0.30319
Microsoft Windows NT 6.2.9200.0, 4.0.30319.34014

===========================================================
VSS Services Configuration and Status

Status: OK
Description: All VSS-related services are configured correctly

Services:

Name: swprv
Title: Microsoft Software Shadow Copy Provider
Status: Stopped
ReferenceStatus: 
NeedToFixStatus: False
StartMode: Manual
ReferenceStartMode: Manual
NeedToFixStartMode: False
IsOk: True
ExpectationDescription: 
Exception: 

Name: VSS
Title: Volume Shadow Copy
Status: Stopped
ReferenceStatus: 
NeedToFixStatus: False
StartMode: Manual
ReferenceStartMode: Manual
NeedToFixStartMode: False
IsOk: True
ExpectationDescription: 
Exception: 

Name: EventSystem
Title: COM+ Event System
Status: Running
ReferenceStatus: Running
NeedToFixStatus: False
StartMode: Auto
ReferenceStartMode: Auto
NeedToFixStartMode: False
IsOk: True
ExpectationDescription: 
Exception: 

===========================================================
VSS Providers Configuration

Status: OK
Description: Only known VSS provider(s) found

Providers:

Id: 89300202-3cec-4981-9171-19f59559e0f2
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{89300202-3cec-4981-9171-19f59559e0f2}
Name: Microsoft File Share Shadow Copy provider
IsDefault: True

Id: b5946137-7b9f-4925-af80-51abd60b20d5
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{b5946137-7b9f-4925-af80-51abd60b20d5}
Name: Microsoft Software Shadow Copy provider 1.0
IsDefault: True

===========================================================
VSS Access Control Configuration

Status: OK
Description: Known VSS access control entries are configured correctly

AccessControls:

UserName: NT Authority\NetworkService
EntryExists: True
UserExists: True
IsActive: True
IsOk: True
StatusDescription: 

UserName: NT AUTHORITY\SYSTEM
EntryExists: True
UserExists: True
IsActive: True
IsOk: True
StatusDescription: 

===========================================================
VSS Components Availability

Status: OK
Description: VSS components are accessible

===========================================================
VSS Writers Status

Status: Warn
Description: Some VSS writers were failed. Event Log may contain more details.

Writers:

Name: Task Scheduler Writer
Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
State: [1] Stable
IsOk: True
Error: No error

Name: VSS Metadata Store Writer
Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
State: [1] Stable
IsOk: True
Error: No error

Name: Performance Counters Writer
Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
State: [1] Stable
IsOk: True
Error: No error

Name: System Writer
Id: {e8132975-6f93-4464-a53e-1050253ae220}
State: [7] Failed
IsOk: False
Error: Timed out

Name: ASR Writer
Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
State: [1] Stable
IsOk: True
Error: No error

Name: IIS Metabase Writer
Id: {59b1f0cf-90ef-465f-9609-6ca8b2938366}
State: [7] Failed
IsOk: False
Error: Timed out

Name: Shadow Copy Optimization Writer
Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
State: [1] Stable
IsOk: True
Error: No error

Name: Registry Writer
Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
State: [1] Stable
IsOk: True
Error: No error

Name: IIS Config Writer
Id: {2a40fd15-dfca-4aa8-a654-1f8c654603f6}
State: [7] Failed
IsOk: False
Error: Timed out

Name: BITS Writer
Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
State: [1] Stable
IsOk: True
Error: No error

Name: WMI Writer
Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
State: [7] Failed
IsOk: False
Error: Timed out

===========================================================
VSS Shadow Storages Status

Status: OK
Description: No existing shadow storages found

Storages:

===========================================================
Disk Free Space Available

Status: OK
Description: All disks have enough free space

Volumes:

Name: C:\
DeviceId: \\?\Volume{28077f78-e798-11e8-80b4-806e6f6e6963}\
Size: 99 GB
Available: 63 GB
Minimum: 320 MB
IsOk: True
Description: 
IsMounted: True

Name: D:\
DeviceId: \\?\Volume{d92ea8dd-e75b-11e8-80b7-000c29f4e068}\
Size: 199 GB
Available: 154 GB
Minimum: 320 MB
IsOk: True
Description: 
IsMounted: True

Name: \\?\Volume{28077f77-e798-11e8-80b4-806e6f6e6963}\
DeviceId: \\?\Volume{28077f77-e798-11e8-80b4-806e6f6e6963}\
Size: 349 MB
Available: 87 MB
Minimum: 32 MB
IsOk: True
Description: 
IsMounted: False

===========================================================
Disk I/O Load

Status: OK
Description: All disks are currently not overloaded

Disks:

Name: 0 C:
DiskBytesPersec: 51731
DiskReadBytesPersec: 12882
DiskReadsPersec: 0
DiskTransfersPersec: 8
DiskWriteBytesPersec: 38848
DiskWritesPersec: 8
PercentDiskReadTime: 0
PercentDiskTime: 23
PercentDiskWriteTime: 22
PercentIdleTime: 81
IsOk: True

Name: 1 D:
DiskBytesPersec: 63263
DiskReadBytesPersec: 50611
DiskReadsPersec: 3
DiskTransfersPersec: 4
DiskWriteBytesPersec: 12652
DiskWritesPersec: 1
PercentDiskReadTime: 0
PercentDiskTime: 1
PercentDiskWriteTime: 1
PercentIdleTime: 95
IsOk: True

===========================================================
NTFS Volume Access Control Configuration

Status: OK
Description: All volumes have correct access control configuration

Volumes:

Name: C:\
SystemHasAccess: True
SystemSid: S-1-5-18
IsOk: True
Description: "SYSTEM" account has "Full Control" access

Name: D:\
SystemHasAccess: True
SystemSid: S-1-5-18
IsOk: True
Description: "SYSTEM" account has "Full Control" access

Name: \\?\Volume{28077f77-e798-11e8-80b4-806e6f6e6963}\
SystemHasAccess: True
SystemSid: S-1-5-18
IsOk: True
Description: "SYSTEM" account has "Full Control" access

===========================================================
Event Log

Status: Warn
Description: Some VSS-related errors or warnings occurred during the previous day

Events:

Timestamp: 6/30/2020 4:46:14 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396
InstanceId: 8229
SearchLink: https://www.google.com/#newwindow=1&q=VSS+event+id+8229

Timestamp: 6/30/2020 4:45:56 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396
InstanceId: 8229
SearchLink: https://www.google.com/#newwindow=1&q=VSS+event+id+8229

Timestamp: 6/30/2020 4:45:38 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396
InstanceId: 8229
SearchLink: https://www.google.com/#newwindow=1&q=VSS+event+id+8229

Timestamp: 6/30/2020 4:45:17 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396
InstanceId: 8229
SearchLink: https://www.google.com/#newwindow=1&q=VSS+event+id+8229

Timestamp: 6/30/2020 3:30:28 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396
InstanceId: 8229
SearchLink: https://www.google.com/#newwindow=1&q=VSS+event+id+8229

ERROR in previous Backups:

MESSAGGIO

Il backup non è riuscito perché 'Oracle VSS Writer - V8' ha registrato un errore durante la creazione della snapshot.

Informazioni aggiuntive:

------------------------
Codice errore : 66038
Campi: {"$module":"disk_bundle_vsa64_22750"}
Messaggio: Operation with partition 'D:' was terminated.

------------------------
Codice errore : 458785
Campi: {"$module":"disk_bundle_vsa64_22750"}
Messaggio: Failed to create volume snapshot.
------------------------
Codice errore : 1098871
Campi: {"$module":"disk_bundle_vsa64_22750"}
Messaggio: All attempts to create a snapshot have failed. To troubleshoot VSS issues, download and run Acronis VSS Doctor available at https://www.acronis.com/en-us/personal/vss-diagnostic-free-tool/
------------------------
Codice errore : 1098818
Campi: {"$module":"disk_bundle_vsa64_22750"}
Messaggio: Failed to start creating the volume snapshot. To troubleshoot VSS issues, download and run Acronis VSS Doctor available at https://www.acronis.com/en-us/personal/vss-diagnostic-free-tool/
------------------------
Codice errore : 1098857
Campi: {"$module":"disk_bundle_vsa64_22750","writerID":"26D02976-B909-43AD-AF7E-62A4F625E372","writerName":"Oracle VSS Writer - V8"}
Messaggio: VSS writer 'Oracle VSS Writer - V8' with class ID '26D02976-B909-43AD-AF7E-62A4F625E372' has failed to process the snapshot. To troubleshoot VSS issues, download and run Acronis VSS Doctor available at https://www.acronis.com/en-us/personal/vss-diagnostic-free-tool/
------------------------
Codice errore : 65520
Campi: {"$module":"disk_bundle_vsa64_22750","code":2147754996}
------------------------

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 0
Comments: 2016

Hello,

thanks for providing a VSS Doctor log.

Here is the error:

Timestamp: 6/30/2020 3:30:28 PM
Type: Warning
Source: VSS
Message: A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.   Operation:    PrepareForBackup event  Context:    Execution Context: Writer    Writer Class Id: {26d02976-b909-43ad-af7e-62a4f625e372}    Writer Name: Oracle VSS Writer - V8    Writer Instance Name: V8    Writer Instance ID: {ef398a97-2cc8-42f2-8b8a-072af7365a65}    Command Line: d:\oracle\1210\dbhome_1\bin\OraVSSW.exe V8    Process ID: 1396

ERROR in previous Backups:

MESSAGGIO

Il backup non è riuscito perché 'Oracle VSS Writer - V8' ha registrato un errore durante la creazione della snapshot.

Hello Hoygen!

Based on these error messages this might be of help:https://kb.acronis.com/content/38222
Though it's for an earlier version searching for this error has similar results, like here: https://www.veeam.com/kb2686.

Since the problem lies in an oracle software there's also this help: https://docs.oracle.com/cd/B28359_01/win.111/b32010/vss.htm#NTQRF280

A major point seem to be to determine if the database is in ARCHIVELOG  or NOARCHIVE  mode. It seems you can only backup a NOARCHIVE database when it's offline. See this bit: 

In the most typical backup scenario, you select the Oracle Database component in your VSS-enabled application and create a shadow copy. The shadow copy contains the database files, control files, and server parameter file. If the database is in ARCHIVELOG mode, then you can create the shadow copy when the database is open or closed; otherwise, only when closed.

-- Peter