Template:SQWareProduction sqwpg RsyncBackup.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwpg_Global.lib | Sourcing sqwpg_Global.lib v2020.01 SQWareProduction for PostgreSQL (dbSQWare) ... | ||
Usage: sqwpg_RsyncBackup.ksh [-h] -I <instance> [+ options] | Usage: sqwpg_RsyncBackup.ksh [-h] -I <instance> [+ options] | ||
| Line 16: | Line 16: | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
-LocalRsync : Make rsync in an inline ssh connection. | -LocalRsync : Make rsync in an inline ssh connection. | ||
-NoMail : | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
-AddMail email : Email | -AddMail email : Email address to add at 'pmexpdba@gmail.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). | ||
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). | -Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). | ||
-Exec : Run | -Exec : Run commands (default, display generated commands). | ||
</pre> | </pre> | ||
Revision as of 18:36, 8 March 2020
Sourcing sqwpg_Global.lib v2020.01 SQWareProduction for PostgreSQL (dbSQWare) ...
Usage: sqwpg_RsyncBackup.ksh [-h] -I <instance> [+ options]
DESCRIPTION
sqwpg_RsyncBackup.ksh rsync dir (without delete) to an other host
SUPPORT
All rdbms type and version
PARAMETERS
-I instance : Target instance.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-FRT return_code : Force return code value on error.
-LocalRsync : Make rsync in an inline ssh connection.
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
-AddMail email : Email address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Locale locale : Force Locale for help display (fr,en).
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
-Exec : Run commands (default, display generated commands).