Difference between revisions of "Template:SQWareProduction sqwcas Backup.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwcas_Global.lib | + | Sourcing sqwcas_Global.lib v2020.01 SQWareProduction for Cassandra (dbSQWare) ... |
Usage: sqwcas_Backup.ksh [-h] -I <instance> -C <command options> [+ options] | Usage: sqwcas_Backup.ksh [-h] -I <instance> -C <command options> [+ options] | ||
Line 7: | Line 7: | ||
sqwcas_Backup.ksh Run backup on all nodes | sqwcas_Backup.ksh Run backup on all nodes | ||
SUPPORT | SUPPORT | ||
− | Cassandra supported versions: 2.0 <= v <= 3. | + | Cassandra supported versions: 2.0 <= v <= 3.x |
PARAMETERS | PARAMETERS | ||
Line 15: | Line 15: | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | - | + | -I scope : Scope of the execution (default: All) |
Local => only on the local node | Local => only on the local node | ||
LocalNode => only on the local node | LocalNode => only on the local node | ||
Line 26: | Line 26: | ||
-P Nb threads : Number of threads in parallel (by default 3). | -P Nb threads : Number of threads in parallel (by default 3). | ||
-HI Nb : Nb of generations to keep (by default 2). | -HI Nb : Nb of generations to keep (by default 2). | ||
− | -AGR Nb sec : Nb of seconds between two | + | -AGR Nb sec : Nb of seconds between two runs (by default 0s). |
− | -AGE Nb sec : Nb of seconds between two | + | -AGE Nb sec : Nb of seconds between two checks of end (by default 5s). |
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
− | -AddMail email : Email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
− | -Timeout Nb_sec : Timeout | + | -Timeout Nb_sec : Timeout kill of ssh session. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
− | -NoMail : | + | -NoMail : Deactivate sendmail on error 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 commands (default, display generated commands) | -Exec : Execute commands (default, display generated commands) | ||
</pre> | </pre> |
Revision as of 18:36, 8 March 2020
Sourcing sqwcas_Global.lib v2020.01 SQWareProduction for Cassandra (dbSQWare) ... Usage: sqwcas_Backup.ksh [-h] -I <instance> -C <command options> [+ options] DESCRIPTION sqwcas_Backup.ksh Run backup on all nodes SUPPORT Cassandra supported versions: 2.0 <= v <= 3.x PARAMETERS -I instance : Target instance. -Type type : Type of backup full (snapshot) or inc (backup). OPTIONS -h help : Display the full usage. -s : Display samples of usage. -I scope : Scope of the execution (default: All) Local => only on the local node LocalNode => only on the local node Node_$NodeName => only on the node '$NodeName' LocalDC => all nodes on the local datacenter DC_$DCName => all nodes on the datacenter '$DCName' All => all nodes on the cluster(all datacenters) AllNodes => all nodes on the cluster(all datacenters) AllDC => all nodes on the cluster(all datacenters) -P Nb threads : Number of threads in parallel (by default 3). -HI Nb : Nb of generations to keep (by default 2). -AGR Nb sec : Nb of seconds between two runs (by default 0s). -AGE Nb sec : Nb of seconds between two checks of end (by default 5s). -FRT return_code : Force return code value on error. -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -Timeout Nb_sec : Timeout kill of ssh session. -SendReport : Send execution log report. -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (default, display generated commands)