cloud.oracle.com – Create a Storage Container for a Backup in the Cloud

Why to use the Oracle Backup  Cloud storage?

During the instance creation process – the full deployed instance, not for the virtual machine – you can select if you want to store your database local or in the cloud – or both. The benefit to store a instance backup by RMAN in the cloud? Storage redundancy, easy access, full RMAN integration and with a service price of $33 / TB / Month it’s a real storage option.

Here is the step where you can select the backup storage option.

cloud_storage_1

Information Gathering

Before you can use this storage, you have to configure a storage container first. This can be done via REST command for example by a tool like curl. In this example I used curl for Windows. To create a storage container you have to know an authentification token (X-Auth-Token) and the URL (X-Storage-Url)  where the storage is presented. The storage name is composed by the word Storage and your Identity Domain name. For example my domain is called chtrivadis4703, the name of the storage user is Storage-chtrivadis4703.

The GET command:

There are some more lines with connection output text, I have removed then so it’s better readable:

Create a Storage Container

Now we know the X-Auth-Token and the X-Storage-Url, so we can create a new storage container called Backup.

For the verification I used Cloud Berry Explorer for OpenStack Storage (http://www.cloudberrylab.com/free-openstack-storage-explorer.aspx) – the container Backup was created successfully.

cloud_storage_2

Configure the Instance to use the Storage

Fill in the name of the cloud created storage container here and finalize the instance creation process.

cloud_storage_3

If the credentials or the storage container name is wrong, you will get an error message:

cloud_storage_4

Enjoy the new Cloud Storage

The new instance will be automatically configured to use this cloud storage as backup destination. But this container is not only for a backup of the cloud instances, you can use the Oracle Database Cloud Backup Module to backup your on-premise instances into the Oracle cloud. But this will be content in one of my next posts…

Links