SQWareProduction:postgres:etc:CrontabRef pgbackret Central.cfg

From Wiki_dbSQWare
Revision as of 16:15, 10 October 2025 by BatchUser (talk | contribs) (Created page with "Configuration file $gvsqw_PgBin/../etc/CrontabRef_pgbackret_Central.cfg:<br> {{SQWareProduction_CrontabRef_pgbackret_Central.cfg_presentation}} <br> <br> File content: <pre> ########################### ## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command ## Backups pgbackrest Central mode # pgbackrest full 00 22 * * 6 bash -c '. $HOME/.profile;$gvsqw_PgBin/sqwpg_PgBackrestAll.ksh -Type full -BkrMode Central -Exec > $HOME/tmp/PgBackrest_full.log 2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configuration file $gvsqw_PgBin/../etc/CrontabRef_pgbackret_Central.cfg:



File content:

###########################
## mm(0-59) hh(0-23) dd(1-31) MM(0-12) DAY(0-sunday, 1-monday, ...) command
## Backups pgbackrest Central mode
# pgbackrest full
00 22 * *   6 bash -c '. $HOME/.profile;$gvsqw_PgBin/sqwpg_PgBackrestAll.ksh -Type full -BkrMode Central -Exec > $HOME/tmp/PgBackrest_full.log 2>&1'
# pgbackrest inc
00 22 * * 0-5 bash -c '. $HOME/.profile;$gvsqw_PgBin/sqwpg_PgBackrestAll.ksh -Type incr -BkrMode Central -Exec > $HOME/tmp/PgBackrest_incr.log 2>&1'