Difference between revisions of "Template:SQWareProduction sqwora Impdp.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwora_Global.lib | + | Sourcing sqwora_Global.lib v2020.01 SQWareProduction for Oracle (dbSQWare) ... |
Usage: sqwora_Impdp.ksh [-h] -I <instance> -FileIdent <fileident> -O <owner> [+ options] | Usage: sqwora_Impdp.ksh [-h] -I <instance> -FileIdent <fileident> -O <owner> [+ options] | ||
Line 7: | Line 7: | ||
sqwora_Impdp.ksh impdp | sqwora_Impdp.ksh impdp | ||
SUPPORT | SUPPORT | ||
− | Oracle supported versions: 10gR2 <= v <= | + | Oracle supported versions: 10gR2 <= v <= 20c |
PARAMETERS | PARAMETERS | ||
− | -I instance : Target instance | + | -I instance : Target instance to table reloads. |
-O owner(s) : Owner(s) of schema(s) to reload (not mandatory when -PartialExp). | -O owner(s) : Owner(s) of schema(s) to reload (not mandatory when -PartialExp). | ||
− | -FileIdent txt : File identifier | + | -FileIdent txt : File identifier of dump to load (ex: ExpdpFull_MYORA or ExpdpMYSCH_ or ...). |
OPTIONS | OPTIONS | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -F filename : File with tables | + | -F filename : File with list of tables to keep (save/restore). |
-TU owner(s) : To user, target schema(s) to reload. | -TU owner(s) : To user, target schema(s) to reload. | ||
-RD directory : Directory to find/copy dump file on local host (default /$(echo ${HOME}|cut -d/ -f2)/backup/${ORACLE_SID}/expdp). | -RD directory : Directory to find/copy dump file on local host (default /$(echo ${HOME}|cut -d/ -f2)/backup/${ORACLE_SID}/expdp). | ||
-Pdb pdb_name : pdb_name for multitenant. | -Pdb pdb_name : pdb_name for multitenant. | ||
− | -NoDrop : Don't drop objects and | + | -NoDrop : Don't drop objects and use 'table_exists_action=replace' option when impdp. |
-GetInf u@h:path : user@host:path to retrieve dump from distant source. | -GetInf u@h:path : user@host:path to retrieve dump from distant source. | ||
− | -OptExp option : Option to add | + | -OptExp option : Option to add to the expdp command. |
− | -OptImp option : Option to add | + | -OptImp option : Option to add to the impdp command. |
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
− | -PartialExp : Disable to | + | -PartialExp : Disable to use 'schemas=xxx' from parfile. |
-NoConsistent : Remove 'flashback_time=systimestamp' option. | -NoConsistent : Remove 'flashback_time=systimestamp' option. | ||
-LockKill : Lock users accounts and kill sessions (target schema(s) to reload). | -LockKill : Lock users accounts and kill sessions (target schema(s) to reload). | ||
-Before scriptname : Script to execute before reload and before drop of objects. | -Before scriptname : Script to execute before reload and before drop of objects. | ||
-After scriptname : Script to execute after reload. | -After scriptname : Script to execute after reload. | ||
− | -AddMail email : Email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
− | -NoMail : | + | -NoMail : Deactivate sendmail on error to pmexpdba@gmail.com (by default, send on error). |
-Locale locale : Force Locale for help display (fr,en). | -Locale locale : Force Locale for help display (fr,en). | ||
-Exec : Execute the reload (default, display generated commands). | -Exec : Execute the reload (default, display generated commands). | ||
</pre> | </pre> |
Revision as of 18:36, 8 March 2020
Sourcing sqwora_Global.lib v2020.01 SQWareProduction for Oracle (dbSQWare) ... Usage: sqwora_Impdp.ksh [-h] -I <instance> -FileIdent <fileident> -O <owner> [+ options] DESCRIPTION sqwora_Impdp.ksh impdp SUPPORT Oracle supported versions: 10gR2 <= v <= 20c PARAMETERS -I instance : Target instance to table reloads. -O owner(s) : Owner(s) of schema(s) to reload (not mandatory when -PartialExp). -FileIdent txt : File identifier of dump to load (ex: ExpdpFull_MYORA or ExpdpMYSCH_ or ...). OPTIONS -h help : Display the full usage. -s : Display samples of usage. -F filename : File with list of tables to keep (save/restore). -TU owner(s) : To user, target schema(s) to reload. -RD directory : Directory to find/copy dump file on local host (default /$(echo ${HOME}|cut -d/ -f2)/backup/${ORACLE_SID}/expdp). -Pdb pdb_name : pdb_name for multitenant. -NoDrop : Don't drop objects and use 'table_exists_action=replace' option when impdp. -GetInf u@h:path : user@host:path to retrieve dump from distant source. -OptExp option : Option to add to the expdp command. -OptImp option : Option to add to the impdp command. -FRT return_code : Force return code value on error. -PartialExp : Disable to use 'schemas=xxx' from parfile. -NoConsistent : Remove 'flashback_time=systimestamp' option. -LockKill : Lock users accounts and kill sessions (target schema(s) to reload). -Before scriptname : Script to execute before reload and before drop of objects. -After scriptname : Script to execute after reload. -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -SendReport : Send execution log report. -NoMail : Deactivate sendmail on error to pmexpdba@gmail.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -Exec : Execute the reload (default, display generated commands).