We were using the Oracle Database backup on a managed disk directly connected to the VM, then copy over to other storage, but to keep even a backup for a month is expensive on managed disk.
Azure Blob Storage is inexpensive and provides considerable speed for Oracle Database backups and recovery.
What is Blobfuse?
1. Create a blob storage account in Azure portal
2. Install Blobfuse on Linux machine
[oracle@dev-ordb-01 ~]$ sudo rpm -Uvh https://packages.microsoft.com/rhel/7.8/prod/blobfuse-1.4.1-RHEL-7.8-x86_64.rpm
Retrieving https://packages.microsoft.com/rhel/7.8/prod/blobfuse-1.4.1-RHEL-7.8-x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:blobfuse-1.4.1-1.el7 ################################# [ 50%]
Cleaning up / removing...
2:blobfuse-1.3.6-1.el7 ################################# [100%]
[oracle@atz-retail-pos-dev-ordb-01 ~]$
[oracle@dev-ordb-01 ~]$ sudo yum install blobfuse
3. Prepare for mounting
Create this temporary directory and ensure that Oracle account has access to it. This temporary path is required for blobfuse to open file contents.
[oracle@dev-ordb-01 ~]$ sudo mkdir /mnt/resource/blobfusetmp -p
[oracle@dev-ordb-01 ~]$ sudo chown oracle -R /mnt/resource/blobfusetmp
Create a blobfuse configuration file with below content:
[oracle@dev-ordb-01 mnt]# cat /home/oracle/fuse_connection.cfg
accountName manojdevstg
accountKey O8HgfgFGDumn2sGRT000dkfdkfdlfdhfn7HqmCnh2kuFJIEk/JpQdfffvFg
containerName test
[oracle@dev-ordb-01 mnt]#
[oracle@dev-ordb-01 ~]# chmod 600 fuse_connection.cfg
mkdir ~/mycontainer
[oracle@dev-ordb-01 blobfusetmp]$ sudo blobfuse ~/mycontainer
--tmp-path=/mnt/resource/blobfusetmp
--config-file=/home/oracle/fuse_connection.cfg -o attr_timeout=240 -o
entry_timeout=240 -o negative_timeout=120 -o allow_other
[root@dev-ordb-01 blobfusetmp]# df -h | grep blob
blobfuse 74G 21G
50G 29% /home/oracle/mycontainer
rman target /
RMAN configure channel device type disk format;
'/home/oracle/mycontainer/test/ora_df%t_s%s_s%p';
After backup complete, we can see backup file in Azure portal storage account container test: