pdb_backup
Takes a backup of the data files and metadata xml of a given pluggable database (PDB).
Format
emcli pdb_backup -inputFile="File containing properties required for taking backup of PDB"
Options
-
inputFile
Location of the file containing properties required for taking a backup of a PDB.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Example
The following example takes a back of the PDB contained in the pdb_backup.props
file:
emcli pdb_backup -input_file=data:/u01/files/pdb_backup.props
Contents of pdb_backup.props:
TARGET_HOST_LIST=xyz.abccorp.com HOST_NORMAL_NAMED_CRED=XYZ_CRED:CRED_OWNER SRC_CDB_NAMED_CRED=CDB1_CRED:CRED_OWNER SRC_CDB_TARGET_NAME=CDB1 SRC_CDB_TARGET_TYPE=oracle_database SRC_PDB_TARGET_NAME=CDB1_PDB1 BACKUP_LOCATION=/scratch/pdbBackup WORK_DIR_LOCATION=/tmp ORACLE_HOME_LOC=/scratch/d121hmcasm/product/12.1.0/dbhome_1