Template:SQWareProduction sqwcas Backup.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
No edit summary |
||
(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwcas_Global.lib | Sourcing sqwcas_Global.lib v2025.06 SQWareProduction for Cassandra (dbSQWare) ... | ||
Usage: sqwcas_Backup.ksh [-h] -I < | Usage: sqwcas_Backup.ksh [-h] -I <CAS_SID> -Type <backup type> [+ options] | ||
DESCRIPTION | DESCRIPTION | ||
sqwcas_Backup.ksh Run backup on all nodes | sqwcas_Backup.ksh Run backup on all nodes | ||
SUPPORT | SUPPORT | ||
Cassandra supported versions: 2.0 <= v <= | Cassandra supported versions: 2.0 <= v <= 4.0 | ||
PARAMETERS | PARAMETERS | ||
Line 13: | Line 13: | ||
-Type type : Type of backup full (snapshot) or inc (backup). | -Type type : Type of backup full (snapshot) or inc (backup). | ||
OPTIONS | OPTIONS | ||
-h | -h : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
- | -S scope : Scope of the execution (by 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. | ||
Node_$NodeName => only on the node '$NodeName' | Node_$NodeName => only on the node '$NodeName'. | ||
LocalDC => all nodes on the local datacenter | LocalDC => all nodes on the local datacenter. | ||
DC_$DCName => all nodes on the datacenter '$DCName' | DC_$DCName => all nodes on the datacenter '$DCName'. | ||
All => all nodes on the cluster(all datacenters) | All => all nodes on the cluster(all datacenters). | ||
AllNodes => all nodes on the cluster(all datacenters) | AllNodes => all nodes on the cluster(all datacenters). | ||
AllDC => 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). | -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 | -AGR Nb_sec : Nb of seconds between two runs (by default 0s). | ||
-AGE | -AGE Nb_sec : Nb of seconds between two checks of end (by default 5s). | ||
-FRT | -FRT code : Force return code value on error. | ||
-AddMail email | -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. | ||
-Timeout Nb_sec : Timeout kill of ssh session. | -Timeout Nb_sec : Timeout kill of ssh session. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-NoMail : Deactivate sendmail on error | -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). | ||
-Locale | -Locale locale : Force Locale for help display (fr,en). | ||
-Exec : Execute commands (default, display generated commands) | -NoDelete : Keep history. | ||
-Exec : Execute commands (by default, display generated commands). | |||
</pre> | </pre> |
Latest revision as of 18:52, 1 July 2025
Sourcing sqwcas_Global.lib v2025.06 SQWareProduction for Cassandra (dbSQWare) ... Usage: sqwcas_Backup.ksh [-h] -I <CAS_SID> -Type <backup type> [+ options] DESCRIPTION sqwcas_Backup.ksh Run backup on all nodes SUPPORT Cassandra supported versions: 2.0 <= v <= 4.0 PARAMETERS -I instance : Target instance. -Type type : Type of backup full (snapshot) or inc (backup). OPTIONS -h : Display the full usage. -s : Display samples of usage. -S scope : Scope of the execution (by 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 code : Force return code value on error. -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. -Timeout Nb_sec : Timeout kill of ssh session. -SendReport : Send execution log report. -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -NoDelete : Keep history. -Exec : Execute commands (by default, display generated commands).