Skip to content

Commit 9849c73

Browse files
committed
Add PGSQL to override and force backing up globals
1 parent 80e407d commit 9849c73

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ If these are set and no other defaults or variables are set explicitly, they wil
298298
| Variable | Description | Default | `_FILE` |
299299
| -------------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
300300
| `DEFAULT_AUTH` | (Optional) Authentication Database | | x |
301+
| `DEFAULT_BACKUP_GLOBALS` | Backup Globals as part of backup procedure | | |
301302
| `DEFAULT_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
302303
| `DEFAULT_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |
303304
| `DEFAULT_EXTRA_OPTS` | Pass extra arguments to the backup and database enumeration command, add them here e.g. `--extra-command` | | |
@@ -562,6 +563,7 @@ Otherwise, override them per backup job. Additional backup jobs can be scheduled
562563
| Variable | Description | Default | `_FILE` |
563564
| ----------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
564565
| `DB01_AUTH` | (Optional) Authentication Database | | |
566+
| `DB01_BACKUP_GLOBALS` | Backup Globals after backing up database (forces `TRUE` if `_NAME=ALL``) | `FALSE` | |
565567
| `DB01_EXTRA_OPTS` | Pass extra arguments to the backup and database enumeration command, add them here e.g. `--extra-command` | | |
566568
| `DB01_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
567569
| `DB01_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |

install/assets/functions/10-db-backup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ bootstrap_variables() {
167167
transform_backup_instance_variable "${backup_instance_number}" AUTH backup_job_db_auth
168168
transform_backup_instance_variable "${backup_instance_number}" BACKUP_BEGIN backup_job_backup_begin
169169
transform_backup_instance_variable "${backup_instance_number}" BACKUP_INTERVAL backup_job_backup_interval
170+
transform_backup_instance_variable "${backup_instance_number}" BACKUP_GLOBALS backup_job_backup_pgsql_globals
170171
transform_backup_instance_variable "${backup_instance_number}" BACKUP_LOCATION backup_job_backup_location
171172
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_BEGIN backup_job_snapshot_blackout_start
172173
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_END backup_job_snapshot_blackout_finish

0 commit comments

Comments
 (0)