Difference between revisions of "Template:SQWareProduction sqwmys CopyXtraBackup.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmys_Global.lib v2024. | + | Sourcing sqwmys_Global.lib v2024.02 SQWareProduction for MySQL (dbSQWare) ... |
Usage: sqwmys_CopyXtraBackup.ksh [[-h]] -I instance -IS <SourceInstance> -US <SourceHostname> [[+ options]] | Usage: sqwmys_CopyXtraBackup.ksh [[-h]] -I instance -IS <SourceInstance> -US <SourceHostname> [[+ options]] | ||
Line 24: | Line 24: | ||
] | ] | ||
OPTIONS | OPTIONS | ||
− | -h | + | -h : Display the full usage. |
-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 pmexpdba@gmail.com (by default, send on error). | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
− | -F file : XtraBackup dir to copy (default take the latest). | + | -F file : XtraBackup dir 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 XtraBackup dir (default $HOME/XtraBackup/$MYSQL_SID). | + | -RD directory : Local directory to get or put XtraBackup dir (by default $HOME/XtraBackup/$MYSQL_SID). |
− | -RDS directory : Distant directory to get or put XtraBackup dir (default $HOME/XtraBackup/$lvsqw_InstanceSource). | + | -RDS directory : Distant directory to get or put XtraBackup dir (by default $HOME/XtraBackup/$lvsqw_InstanceSource). |
-UUS username : Source unix user(by default, same as target). | -UUS username : Source unix user(by default, same as target). | ||
-Before scriptname : Script to execute before copy XtraBackup. | -Before scriptname : Script to execute before copy XtraBackup. | ||
-After scriptname : Script to execute after copy XtraBackup. | -After scriptname : Script to execute after copy XtraBackup. | ||
− | -AddMail email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
− | -Locale | + | -Locale locale : Force Locale for help display (fr,en). |
− | -AGR | + | -AGR Nb_sec : Nb of seconds between two runs (by default 10s). |
− | -AGE | + | -AGE Nb_sec : Nb of seconds between two checks of end (by default 30s). |
− | -Exec : Copy dir $lvsqw_CopyType (default, display generated commands). | + | -Exec : Copy dir $lvsqw_CopyType (by default, display generated commands). |
</pre> | </pre> |
Revision as of 16:11, 7 April 2024
Sourcing sqwmys_Global.lib v2024.02 SQWareProduction for MySQL (dbSQWare) ... Usage: sqwmys_CopyXtraBackup.ksh [[-h]] -I instance -IS <SourceInstance> -US <SourceHostname> [[+ options]] DESCRIPTION sqwmys_CopyXtraBackup.ksh copy of XtraBackup $lvsqw_CopyType SUPPORT MariaDB supported versions: 5.5 <= v <= 11.1 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 XtraBackup from distant source. OR -PutInf u@h:path : user@host:path to push XtraBackup 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 pmexpdba@gmail.com (by default, send on error). -F file : XtraBackup dir 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 XtraBackup dir (by default $HOME/XtraBackup/$MYSQL_SID). -RDS directory : Distant directory to get or put XtraBackup dir (by default $HOME/XtraBackup/$lvsqw_InstanceSource). -UUS username : Source unix user(by default, same as target). -Before scriptname : Script to execute before copy XtraBackup. -After scriptname : Script to execute after copy XtraBackup. -AddMail email : Email address to add at 'pmexpdba@gmail.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).