Back to the main page

OSB 18.1 support for OCI Object storage


This is Oracle Secure Backup (OSB) version 18.1 that supports OCI Object Storage (including Archive Storage).


Download the zip file ( from Oracle site and unzip it in a working directory. Go to install location (ex. /opt) and start installation (run file "setup"). Select that you install "Admin server and client", and provide password for keystore and Admin. After install is completed, start service "observiced". Now login to OSB web interface.

Authentication object

An authentication object for OCI has to be configured first, so OSB can authenticate to OCI. The authentication object contains information such as the public key fingerprint, private key file, identity domain, and tenancy information, basically same thing a user has in ~/.oci/config.
Add an authentication object via Web interface: Configure - Basic - Authentications.

With obtool, you can list authentication objects, example:
$ /opt/bin/obtool
ob> lsauth

OCI device

Now add new OCI device via web interface: Configure - Basic - Devices . Use appropriate authentication object for a region (OCI Ashburn, Phoenix, London, etc)

OSB will create OCI Bucket, it's "Container" from the image above.

To list devices via CLI:
ob> lsdev
disk pool           disk01           in service
cloud storage       oci-backup       in service


A dataset file describes the data to back up.
Go to : Backup - Settings -Datasets . Add dataset type "File" named "localhost", that reads (backup /osb directory):
include host zdudic3 # my OSB admin and mediaserver machine)
include path /osb    # backup /osb directory on zdudic3 host

File is present in the directory /opt/admin/config/dataset. Use "Backup Now" to back it up on OCI object storage.
Objects in Bucket don't have friendly name, and number is bigger then real number of files, but OSB will properly read files and show their names.


Restore can be catalog-based or raw. In a catalog-based restore, you browse the catalog for the objects to be restored. In a raw restore, you must have independent knowledge of storage location (volume ID and backup image file number) of a backup. Example of restore:

Back to the main page