Template:SQWareProduction sqwmys CopyMariaBackup.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwmys_Global.lib | Sourcing sqwmys_Global.lib v2025.10 SQWareProduction for MySQL (dbSQWare) ... | ||
Usage: sqwmys_CopyMariaBackup.ksh [[-h]] -I instance -IS <SourceInstance> -US <SourceHostname> [[+ options]] | Usage: sqwmys_CopyMariaBackup.ksh [[-h]] -I instance -T <type> -IS <SourceInstance> -US <SourceHostname> [[+ options]] | ||
DESCRIPTION | DESCRIPTION | ||
sqwmys_CopyMariaBackup.ksh copy of MariaBackup $lvsqw_CopyType | sqwmys_CopyMariaBackup.ksh copy of MariaBackup $lvsqw_CopyType | ||
SUPPORT | SUPPORT | ||
MariaDB supported versions: 5.5 <= v <= 11. | MariaDB supported versions: 5.5 <= v <= 11.8 | ||
PARAMETERS | PARAMETERS | ||
| Line 27: | Line 27: | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-P Nb processes : Max number of processes (by default 2). | -P Nb processes : Max number of processes (by default 2). | ||
-NoMail : Deactivate sendmail on error | -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). | ||
-F file : MariaBackup | -F file : MariaBackup to copy (by default take the latest). | ||
-HI Nb : Nb of generations to keep, only for get option (by default 1). | -HI Nb : Nb of generations to keep, only for get option (by default 1). | ||
-RD directory : Local directory to get or put MariaBackup dir (by default $HOME/MariaBackup/$MYSQL_SID). | -RD directory : Local directory to get or put MariaBackup dir (by default $HOME/MariaBackup/$MYSQL_SID). | ||
| Line 35: | Line 35: | ||
-Before scriptname : Script to execute before copy MariaBackup. | -Before scriptname : Script to execute before copy MariaBackup. | ||
-After scriptname : Script to execute after copy MariaBackup. | -After scriptname : Script to execute after copy MariaBackup. | ||
-AddMail email : Email address to add at ' | -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-Locale locale : Force Locale for help display (fr,en). | -Locale locale : Force Locale for help display (fr,en). | ||
Latest revision as of 16:20, 10 October 2025
Sourcing sqwmys_Global.lib v2025.10 SQWareProduction for MySQL (dbSQWare) ...
Usage: sqwmys_CopyMariaBackup.ksh [[-h]] -I instance -T <type> -IS <SourceInstance> -US <SourceHostname> [[+ options]]
DESCRIPTION
sqwmys_CopyMariaBackup.ksh copy of MariaBackup $lvsqw_CopyType
SUPPORT
MariaDB supported versions: 5.5 <= v <= 11.8
PARAMETERS
-I instance : Target instance to copy.
-T type : Which backup to copy:
- LastFull => copy the last full backup
- LastInc => copy the last incremental backup
- <tag> => copy this backup tag (part of file name)
[
-GetInf u@h:path : user@host:path to retrieve MariaBackup from distant source.
OR
-PutInf u@h:path : user@host:path to push MariaBackup to distant host.
OR
-IS instance : Source instance.
-US hostname : Source hostname.
]
OPTIONS
-h : Display the full usage.
-s : Display samples of usage.
-P Nb processes : Max number of processes (by default 2).
-NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error).
-F file : MariaBackup to copy (by default take the latest).
-HI Nb : Nb of generations to keep, only for get option (by default 1).
-RD directory : Local directory to get or put MariaBackup dir (by default $HOME/MariaBackup/$MYSQL_SID).
-RDS directory : Distant directory to get or put MariaBackup dir (by default $HOME/MariaBackup/$lvsqw_InstanceSource).
-UUS username : Source unix user(by default, same as target).
-Before scriptname : Script to execute before copy MariaBackup.
-After scriptname : Script to execute after copy MariaBackup.
-AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'.
-SendReport : Send execution log report.
-Locale locale : Force Locale for help display (fr,en).
-AGR Nb_sec : Nb of seconds between two runs (by default 10s).
-AGE Nb_sec : Nb of seconds between two checks of end (by default 30s).
-Exec : Copy dir $lvsqw_CopyType (by default, display generated commands).