Template:SQWareProduction sqwdb2 BackupDatabase.ksh help: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
m Updated by BatchUser
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwdb2_Global.lib v2020.03 SQWareProduction for Db2 (dbSQWare) ...  
Sourcing sqwdb2_Global.lib v2020.04 SQWareProduction for Db2 (dbSQWare) ...  


Usage: sqwdb2_BackupDatabase.ksh [-h] -I databasename [+ options]
Usage: sqwdb2_BackupDatabase.ksh [-h] -I databasename [+ options]


DESCRIPTION
DESCRIPTION
   sqwdb2_BackupDatabase.ksh backup of database
   sqwdb2_BackupDatabase.ksh backup
SUPPORT
SUPPORT
   Db2 supported versions: 8.2 <= v <= 11.1
   Db2 supported versions: 8.2 <= v <= 11.1


PARAMETERS
PARAMETERS
     -I  database       : Target database for backup.
     -I  instance       : Target instance for backup.
OPTIONS
OPTIONS
     -h    help        : Display the full usage.
     -h    help        : Display the full usage.
Line 17: Line 17:
     -O    type        : online or offline (default: online).
     -O    type        : online or offline (default: online).
     -T    type        : full or delta (default: full).
     -T    type        : full or delta (default: full).
     -TC  command      : Toll command, 'USE TSM', 'USE XBSA', 'TO DISK' (default: 'USE TSM').
     -TC  command      : Tool command, 'USE TSM', 'USE XBSA', 'TO DISK' (default: 'USE TSM').
     -FRT  return_code  : Force return code value on error.
     -FRT  return_code  : Force return code value on error.
     -AddMail email    : Email address to add at 'pmexpdba@gmail.com'.
     -AddMail email    : Email address to add at 'pmexpdba@gmail.com'.

Revision as of 19:44, 20 July 2020

Sourcing sqwdb2_Global.lib v2020.04 SQWareProduction for Db2 (dbSQWare) ... 

Usage: sqwdb2_BackupDatabase.ksh [-h] -I databasename [+ options]

DESCRIPTION
   sqwdb2_BackupDatabase.ksh backup
SUPPORT
   Db2 supported versions: 8.2 <= v <= 11.1

PARAMETERS
     -I  instance       : Target instance for backup.
OPTIONS
     -h    help         : Display the full usage.
     -s                 : Display samples of usage.
     -HI   nb_days      : Number of days to keep (default: 30).
     -O    type         : online or offline (default: online).
     -T    type         : full or delta (default: full).
     -TC   command      : Tool command, 'USE TSM', 'USE XBSA', 'TO DISK' (default: 'USE TSM').
     -FRT  return_code  : Force return code value on error.
     -AddMail email     : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -NoCompress        : Deactivate backup compression.
     -Freeze            : Freeze cluster resource when offline backup.
     -Blackout          : Blackout supervision when offline backup.
     -Locale   locale   : Force Locale for help display (fr,en).
     -Exec              : Execute commands (default, display generated commands)