Template:SQWareProduction sqwpg PgBackrest.ksh help

From Wiki_dbSQWare
Jump to navigation Jump to search
Sourcing sqwpg_Global.lib v2025.11 SQWareProduction for PostgreSQL (dbSQWare) ... 

Usage: sqwpg_PgBackrest.ksh [-h] -I instance -Type type [+ options]

DESCRIPTION
   sqwpg_PgBackrest.ksh backup of cluster with pgbackrest
SUPPORT
   PostgreSQL supported versions: 9.0 <= v <= 18
    Before using this script, you must install pgbackrest utilities on your system !
    More information on https://pgbackrest.org/

PARAMETERS
     -I  instance       : Target instance.
     -Type type         : Type of backup full, diff, incr.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -FRT        code   : Force return code value on error.
     -BkrMode    mode   : Mode of backup Local or Central (by default, Local)
     -RepoName   name   : Repo name (by default, same as 'StanzaName')
     -StanzaName name   : Stanza name (by default, same as '-I')
     -AddMail    email  : Email address to add at 'demo-sqwarebox@dbsqware.com'.
     -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).
     -Exec              : Execute commands (by default, display generated commands).