Difference between revisions of "Template:SQWareProduction sqwora SchemaRefreshExpdp.ksh help"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwora_Global.lib v3.1.12 SQWareProduction for Oracle (dbSQWare GPL v3) ...  
+
Sourcing sqwora_Global.lib v2024.07 SQWareProduction for Oracle (dbSQWare) ...  
  
 
Usage: sqwora_SchemaRefreshExpdp.ksh [-h] -I <instance> -IS <instance> -US <hostname> -O <owner> [+ options]
 
Usage: sqwora_SchemaRefreshExpdp.ksh [-h] -I <instance> -IS <instance> -US <hostname> -O <owner> [+ options]
  
 
DESCRIPTION
 
DESCRIPTION
   sqwora_SchemaRefreshExpdp.ksh refresh tables
+
   sqwora_SchemaRefreshExpdp.ksh refresh schema(s) by expdp/impdp
 
SUPPORT
 
SUPPORT
   Oracle supported versions: 10gR2 <= v <= 12cR1
+
   Oracle supported versions: 10gR2 <= v <= 21c
  
 
PARAMETERS
 
PARAMETERS
     -I  instance      : Target instance for reload tables.
+
     -I  instance      : Target instance to reload schema(s).
 
     -IS instance      : Instance source of the export.
 
     -IS instance      : Instance source of the export.
     -US hostname      : Hostname of the source.
+
     -US hostname      : Source hostname.
 
     -O  owner(s)      : Owner(s) of schema(s) to reload.
 
     -O  owner(s)      : Owner(s) of schema(s) to reload.
 
OPTIONS
 
OPTIONS
     -h help          : Display the full usage.
+
     -h                 : Display the full usage.
 
     -s                : Display samples of usage.
 
     -s                : Display samples of usage.
 
     -P  Nb threads    : Number of threads in parallel (by default 2).
 
     -P  Nb threads    : Number of threads in parallel (by default 2).
     -F  filename      : File with tables list to keep (save/restore).
+
     -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.
     -Pdb    pdb_name  : pdb_name for multitenant.
+
    -RD  directory    : Directory to copy dump file on local host (by default /$(echo ${HOME}|cut -d/ -f2)/backup/${ORACLE_SID}/expdp).
     -OptExp option    : Option to add at the expdp command.
+
    -RDS directory    : Directory to write dump file on distant host (by default /$(echo ~$lvsqw_UserUnixSource|cut -d/ -f2)/backup/${lvsqw_InstanceSource}/expdp).
     -OptImp option    : Option to add at the impdp command.
+
     -Pdb    pdb_name  : pdb_name for multitenant (target instance).
     -FRT return_code  : Force return code value on error.
+
    -PdbS  pdb_name  : pdb_name for multitenant (source instance).
     -UUS  username    : User unix source(by default, same of target).
+
     -OptExp option    : Option to add to the expdp command.
 +
     -OptImp option    : Option to add to the impdp command.
 +
     -FRT       code    : Force return code value on error.
 +
     -UUS  username    : Source unix user(by default, same as target).
 
     -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 Address to add at 'pmexpdba@gmail.com'.
+
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
 
     -SendReport        : Send execution log report.
 
     -SendReport        : Send execution log report.
     -NoMail            : Desactivate sendmail on error to pmexpdba@gmail.com (by default, send on error).
+
     -NoMail            : Deactivate sendmail on error to pmexpdba@gmail.com (by default, send on error).
     -Exec              : Execute the reload (default, display generated commands).
+
    -Locale    locale  : Force Locale for help display (fr,en).
 +
     -Exec              : Execute the reload (by default, display generated commands).
  
 
</pre>
 
</pre>

Latest revision as of 15:56, 31 October 2024

Sourcing sqwora_Global.lib v2024.07 SQWareProduction for Oracle (dbSQWare) ... 

Usage: sqwora_SchemaRefreshExpdp.ksh [-h] -I <instance> -IS <instance> -US <hostname> -O <owner> [+ options]

DESCRIPTION
   sqwora_SchemaRefreshExpdp.ksh refresh schema(s) by expdp/impdp
SUPPORT
   Oracle supported versions: 10gR2 <= v <= 21c

PARAMETERS
     -I  instance       : Target instance to reload schema(s).
     -IS instance       : Instance source of the export.
     -US hostname       : Source hostname.
     -O  owner(s)       : Owner(s) of schema(s) to reload.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -P  Nb threads     : Number of threads in parallel (by default 2).
     -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 copy dump file on local host (by default /$(echo ${HOME}|cut -d/ -f2)/backup/${ORACLE_SID}/expdp).
     -RDS directory     : Directory to write dump file on distant host (by default /$(echo ~$lvsqw_UserUnixSource|cut -d/ -f2)/backup/${lvsqw_InstanceSource}/expdp).
     -Pdb    pdb_name   : pdb_name for multitenant (target instance).
     -PdbS   pdb_name   : pdb_name for multitenant (source instance).
     -OptExp option     : Option to add to the expdp command.
     -OptImp option     : Option to add to the impdp command.
     -FRT       code    : Force return code value on error.
     -UUS  username     : Source unix user(by default, same as target).
     -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 (by default, display generated commands).