HowTo perform brtools/Oracle RMAN Backup to disk on Azure?

otaviopc 5 Reputation points
2023-03-27T16:19:16.6+00:00

Hello!

Please, is there a best way to perform brtools/Oracle RMAN Backup to disk on Azure?

This is my actual scenario:

Azure Virtual Machine - V2

Windows Server 2016

Oracle Database 19.8.0.0.0

SAP DW

I am trying to perform RMAN backup to Azure FileStorage mapped as Unit Y:\ but i am facing the error:

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of backup command on dsk channel at 03/27/2023 12:36:16

ORA-19504: failed to create file "Y:\SR3USR.DATA1.S"

ORA-27037: unable to obtain file status

OSD-04011: GetFileInformationByHandle() failure, unable to obtain file info

O/S-Error: (OS 2) The system cannot find the file specified.

Any suggestion?

Could be a Security issue?

Thanks in advance.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,420 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Windows for business Windows Server User experience Other
{count} vote

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-03-28T15:10:29.7466667+00:00

    Hello there,

    This article demonstrates the use of Azure Files as a media to back up and restore an Oracle database running on an Azure VM. The steps in this article have been tested against Oracle 12.1 and higher. You will back up the database using Oracle RMAN to an Azure file share mounted to the VM using the SMB protocol. Using Azure Files for backup media is extremely cost effective and performant. However, for very large databases, Azure Backup provides a better solution.

    https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/oracle/oracle-database-backup-azure-storage?tabs=azure-portal

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Rakesh Gopal 0 Reputation points
    2024-08-23T16:08:21.7633333+00:00

    I followed the article to setup Azure fileshare & was able to successfully mount it to my Windows VM and i even tested manually creating a text file. However while i perform a Rman backup i run into the same issue as the user above.

    ORA-27037: unable to obtain file status

    OSD-04011: GetFileInformationByHandle() failure, unable to obtain file info

    O/S-Error: (OS 2) The system cannot find the file specified.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.