Backup and Restore Best Practices in Azure

This article covers backup procedures that must be used for different types of data including:

  • OS and software on the cluster nodes
  • Database files
  • Files on ACFS, if used

Backing up OS and software on the cluster nodes

It is strongly recommended to back up the OS disk and software disk (LUN 0) of all cluster nodes after the initial cluster configuration and before and after applying any changes such as patch installation or security settings changes. Taking disk snapshots is the recommended method for backing up the disks.

Note that Azure Backup service is not currently supported due to its existing restrictions.

To create a backup of a cluster node VM

  1. If the node is a database node, stop Oracle services.

    # crsctl stop crs

  2. Gracefully stop the instance.

    # flashgrid-node poweroff

  3. Create snapshot of the OS disk

  4. Create snapshot of the software disk (LUN 0)

Backing up and restoring database files

Use standard RMAN procedures for backing up and restoring database files. A disk attached to one of the database node VMs is recommended as a backup destination. The disk must be attached with a LUN number 50 through 64 (LUNs 1 through 49 are automatically shared by Storage Fabric). The disk must be formatted with a local file system, such as XFS.

The disk image can be exported for storing the backup data outside of Azure.

Backing up Grid Infrastructure configuration files

Please follow Grid Infrastructure Backup and Restore Best Practices

Backing up and restoring files on ACFS

For backing up and restoring files on ACFS use same tools and procedures that you would normally use for file-level backup and restore.