2.5

Database Operations 3
Organization administrators might need to perform a variety of database tasks. They can perform the tasks
with the vFabric Data Director API.
This chapter includes the following topics:
n
“Ingest a Database,” on page 25
n
“Clone a Database,” on page 26
n
“Refresh a Cloned Database,” on page 27
n
“Reconfigure a Database,” on page 27
n
“Add a Database to the Catalog,” on page 28
n
“Delete a Database,” on page 28
Ingest a Database
You can ingest a database to reproduce a production environment and create a one-time (golden) clone. The
imported database is a clone of a physical database that exists outside of Data Director.
The example assumes that you have created an Oracle base DB template with an ID of 1, and created a DB
Group with an ID of 26. The dbName for the ingestion source is ORAC and the IP address is 198.51.100.255:/nfs.
The example uses the default resource template, so you do not have to create one before you make this call.
Prerequisites
Verify that you have access to the organization and to the database group in which you want to create the
database.
Procedure
u
Make an HTTP POST call to ingest the database.
POST https://example.aurora.com/datadirector/api/databases
Content-type : application/json
Authorization : Basic YWRtaW5AYXVyb3JhLnZtd2FyZS5jb206cGFzc3dvcmQ=
Accept : application/json
{
"baseDbTemplateId": 1,
"dbName": "ORAC",
"dbgroupId": 26,
"description": "RestApiExample: ingestion oracle",
VMware, Inc.
25