Template:SQWareProduction sqwora RmanClone.ksh help: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
No edit summary
 
(62 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwora_Global.lib v3.1.01 SQWareProduction for Oracle (dbSQWare GPL v3) ...  
Sourcing sqwora_Global.lib v2025.07 SQWareProduction for Oracle (dbSQWare) ...  


Usage: sqwora_RmanClone.ksh [-h] -I <instance> -IS <instance> -US <hostname> -T <Type> [+ options]
Usage: sqwora_RmanClone.ksh [-h] -I <instance> -IS <instance> -US <hostname> -T <Type> [+ options]
Line 7: Line 7:
   sqwora_RmanClone.ksh duplicate instance by Rman
   sqwora_RmanClone.ksh duplicate instance by Rman
SUPPORT
SUPPORT
   Oracle supported versions: 10gR2 <= v <= 11gR2
   Oracle supported versions: 10gR2 <= v <= 23ai


PARAMETERS
PARAMETERS
     -I  instance      : Target instance (clone).
     -I  instance      : Target instance (clone).
     -IS instance      : Instance source.
     -IS instance      : Instance source.
     -US hostname      : Hostname of instance source.
     -US hostname      : Hostname for instance source.
     -T  type          : Which backup to use:
     -T  type          : Which backup to use:
                           - LastFull => recover the last full backup
                           - LastFull => recover the last full backup
Line 19: Line 19:
                           - <tag>    => recover this backup tag (part of file name)
                           - <tag>    => recover this backup tag (part of file name)
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 processes  : Nb max processes (by default 4).
     -P  Nb processes  : Max number of processes (by default 4).
     -FRT return_code  : Force return code value on error.
     -FRT return_code  : Force return code value on error.
     -UUS  username    : User unix source(by default, same of target).
     -UUS  username    : Source unix user(by default, same as target).
     -Before  script    : Script to execute before clonning.
     -Before  script    : Script to execute before clonning.
     -After  script    : Script to execute after clonning.
     -After  script    : Script to execute after clonning.
     -AddMail email     : Email Address to add at 'default@dbsqware.com'.
     -AddMail   email   : Email address to add at 'demo-sqwarebox@dbsqware.com'.
     -SendReport        : Send execution log report.
     -SendReport        : Send execution log report.
     -NoMail            : Desactivate sendmail on error to default@dbsqware.com (by default, send on error).
     -NoMail            : Deactivate sendmail on error to demo-sqwarebox@dbsqware.com (by default, send on error).
    -Locale    locale  : Force Locale for help display (fr,en).
     -CopyOnly          : Make only the copy of backups and quit.
     -CopyOnly          : Make only the copy of backups and quit.
     -IgnoreDiskWarning : Do not care of the evaluation of disk space (by default, exit on error).
     -IgnoreDiskWarning : Ignore disk space warning (by default, exit on error).
     -Exec              : Duplicate (default, display generated commands).
     -Exec              : Duplicate instance (by default, display generated commands).


</pre>
</pre>

Latest revision as of 11:38, 6 July 2025

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

Usage: sqwora_RmanClone.ksh [-h] -I <instance> -IS <instance> -US <hostname> -T <Type> [+ options]

DESCRIPTION
   sqwora_RmanClone.ksh duplicate instance by Rman
SUPPORT
   Oracle supported versions: 10gR2 <= v <= 23ai

PARAMETERS
     -I  instance       : Target instance (clone).
     -IS instance       : Instance source.
     -US hostname       : Hostname for instance source.
     -T  type           : Which backup to use:
                           - LastFull => recover the last full backup
                           - LastInc  => recover the last incremental backup
                           - MaxTime  => recover the last backup
                           - <tag>    => recover this backup tag (part of file name)
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -P  Nb processes   : Max number of processes (by default 4).
     -FRT return_code   : Force return code value on error.
     -UUS  username     : Source unix user(by default, same as target).
     -Before  script    : Script to execute before clonning.
     -After   script    : Script to execute after clonning.
     -AddMail   email   : Email address to add at 'demo-sqwarebox@dbsqware.com'.
     -SendReport        : Send execution log report.
     -NoMail            : Deactivate sendmail on error to demo-sqwarebox@dbsqware.com (by default, send on error).
     -Locale    locale  : Force Locale for help display (fr,en).
     -CopyOnly          : Make only the copy of backups and quit.
     -IgnoreDiskWarning : Ignore disk space warning (by default, exit on error).
     -Exec              : Duplicate instance (by default, display generated commands).