Skip to Main Content

Breadcrumb

May 4th

Question and Answer

Connor McDonald

Thanks for the question, Camille.

Asked: June 23, 2020 - 7:46 am UTC

Last updated: March 11, 2021 - 2:54 am UTC

Version: 18

Viewed 1000+ times

You Asked

When I deploy Oracle Database on Amazon EC2, I can backup to Object Store with RMAN, using "Oracle Secure Backup Cloud Module for Amazon S3".

This is great.

When I deploy Oracle Database on Azure, I would like to use Azure Blob Storage with RMAN. Is there a similar or recommended solution to have RMAN sending backup pieces to Azure Blob Storage?

In this case, I deploy Oracle Database myself on a virtual machine created in Azure. I do not use managed services.

Thank you

and Connor said...

Currently we do not have a dedicated module for it.

However, (I think) on Azure you can expose their object/blob storage as a filesystem. In that instance, you could use RMAN to backup to that.

Similarly, you could back up to an NFS share.

Rating

  (3 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

RMAN backup on Azure Blob Storage

Tim Gorman, September 15, 2020 - 6:46 pm UTC

Just a note...

There is an open-source github project called "blobfuse" which uses the FUSE libraries to write to Azure Blob storage. I'm not including a link because I don't think unsupported mechanisms are appropriate for backups, but you can google it yourself if you wish?

Following are better options...

One presently available option for less-expensive storage for RMAN backups is "Azure Files" which on Linux VMs are mounted using the CIFS protocol (a.k.a. SMB or Samba). I recommend using the "premium" level of service of Azure Files, and I also recommend specifying the additional mount.cifs option "cache=none" ( https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-linux ).

Azure Files premium over NFS v4.1 starts in "public preview" today (15-Sep 2020), so that is another option. This offers the use of the NFS protocol (instead of CIFS) for remote Azure Files storage, for the premium option only ( https://docs.microsoft.com/en-us/azure/storage/files/storage-files-how-to-create-nfs-shares?tabs=azure-portal ).

Last and best, the ability to mount inexpensive and fast Azure Blob storage directly over NFS v3.0 started in "public preview" in July, available in the East US, Central US, and Central Canada regions. This will allow data from the DEVICE TYPE DISK adapter of RMAN to stream directly to Azure blobs. ( https://azure.microsoft.com/en-us/blog/nfs-30-support-for-azure-blob-storage-is-now-in-preview/ ). This option is expected to become GA in Q1 CY2021.

Hope this helps!
Connor McDonald
September 16, 2020 - 1:47 am UTC

Thanks for stopping by Tim

Secure Backup Cloud Module for Azure blob

Leila E., March 08, 2021 - 6:56 pm UTC

Based on the last post Oracle does not have a secure backup module for Azure blob. Is there a plan to build one or has there been any change to that? I would appreciate a feedback
Connor McDonald
March 10, 2021 - 1:37 am UTC

There are no plans that I'm aware of

RMAN backup with Azure BlobStorage using Minio S3 gateway

A reader, March 10, 2021 - 8:28 am UTC

We deploy Minio on all our Oracle VMs so that RMAN can use the S3 protocol against Minio, and Minio can act as a gateway to Azure.
Connor McDonald
March 11, 2021 - 2:54 am UTC

Thanks for that info

More to Explore

Backup/Recovery

Check out the complete guide to all of the Backup & Recovery techniques in the Oracle Database.