Note the ID if you want to use an existing database home or if you want to get
more details. Use the
odacli describe-dbhomes
command to get greater
details about a specific database home.
# odacli list-dbhomes
ID Name DB Version
------------------------------------ ----------------- ----------
b727bf80-c99e-4846-ac1f-28a81a725df6 OraDB12102_home1 18.3.0.0.0
(continued)
Home Location
-----------------------------------------
/u01/app/orauser/product/18.3.0.0.0/dbhome_1
2.
Create a database home if a database home does not exist for the database
version.
If you want to create a database home for specifically for the migrated database,
you can use the
odacli create-dbhome
command, or you can create the
database home when you create the database. The example creates a database
home for database version 18.3.0.0.0.
# odacli create-dbhome -v 18.3.0.0.0
3.
Create an instance only database. You can use an existing database home ID or
you can create a database home when creating the database.
To create an instance only database named
PRODDB
with database version
18.3.0.0.0
that uses an existing database home with ID
b727bf80-c99e-4846-
ac1f-28a81a725df6
:
#odacli create-database -n PRODDB -v 18.3.0.0.0
-io -m -dh b727bf80-c99e-4846-ac1f-28a81a725df6
To create an instance only database named
PRODDB
with database version
18.3.0.0.0
and a database home:
#odacli create-database -n PRODDB -v 18.3.0.0.0 -io -m
Cloning a Database from Backup
Use the Web Console to clone a database from a backup.
When you backup a database in Oracle Database Appliance, a backup report is
created. Save the backup report as a JSON file and you can use the file to create a
database on the same appliance, or a different appliance.
The following are the prerequisites to cloning a database from a backup:
1.
The source database backup location must be Object Store or External FRA
(Network File System).
2.
If you use Object Store backup location, then obtain Object Store Credentials for
the host.
Chapter 9
Working with Databases
9-7
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...