odacli clone-database
Use the odacli clone-database command to clone a new database from a
source database.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
odacli clone-database [-u] [-n] [-s] [-y|SI|RAC|RACONE] [-j] [-from] [-m]
[-p] [-h]
Parameters
Parameter
--databaseUniqueName
--dbname
--dbshape
--dbtype, -y [SI]
--help
--json
--sourcedbname
--syspassword
--tdepassword
Usage Notes
•
The source database must be up and running.
•
The source database must use Oracle ACFS storage.
•
The source database must not be a multitenant container database (CDB)
Example 13-60
The following example creates a clone database snap1 from source database
acfsdb1.
# /opt/oracle/dcs/bin/odacli clone-database -n snap1 -u snap1u -f acfsdb1 -
hm password
,
-u
,
-n
,
-s
,
-h
,
-j
,
-from
,
-m
,
-p
Cloning a Database
odacli Database Commands
Description
(Optional) Defines a unique name for the database.
If the
--databaseUniqueName
provided, then the name of the database is set to
the
value.
--dbname
Defines the name given to the new database
(
.)
dbname
Identifies the database shape (template) and
determines the total memory allocated to the
database. For example, odb1 and odb2. The default
is
.
odb1
Defines the database type. The default database
type is SI.
(Optional) Displays help for using the command.
(Optional) Displays JSON output.
Specifies the name of the source database
Specifies the password for the
Specifies the password for the source TDE Wallet.
Chapter 13
option is not
user.
SYS
13-63