mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
Add PGSQL to override and force backing up globals
This commit is contained in:
@@ -298,6 +298,7 @@ If these are set and no other defaults or variables are set explicitly, they wil
|
|||||||
| Variable | Description | Default | `_FILE` |
|
| Variable | Description | Default | `_FILE` |
|
||||||
| -------------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
|
| -------------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
|
||||||
| `DEFAULT_AUTH` | (Optional) Authentication Database | | x |
|
| `DEFAULT_AUTH` | (Optional) Authentication Database | | x |
|
||||||
|
| `DEFAULT_BACKUP_GLOBALS` | Backup Globals as part of backup procedure | | |
|
||||||
| `DEFAULT_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
|
| `DEFAULT_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
|
||||||
| `DEFAULT_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |
|
| `DEFAULT_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |
|
||||||
| `DEFAULT_EXTRA_OPTS` | Pass extra arguments to the backup and database enumeration command, add them here e.g. `--extra-command` | | |
|
| `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
|
|||||||
| Variable | Description | Default | `_FILE` |
|
| Variable | Description | Default | `_FILE` |
|
||||||
| ----------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
|
| ----------------------------- | --------------------------------------------------------------------------------------------------------- | ------- | ------- |
|
||||||
| `DB01_AUTH` | (Optional) Authentication Database | | |
|
| `DB01_AUTH` | (Optional) Authentication Database | | |
|
||||||
|
| `DB01_BACKUP_GLOBALS` | Backup Globals after backing up database (forces `TRUE` if `_NAME=ALL``) | `FALSE` | |
|
||||||
| `DB01_EXTRA_OPTS` | Pass extra arguments to the backup and database enumeration command, add them here e.g. `--extra-command` | | |
|
| `DB01_EXTRA_OPTS` | Pass extra arguments to the backup and database enumeration command, add them here e.g. `--extra-command` | | |
|
||||||
| `DB01_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
|
| `DB01_EXTRA_BACKUP_OPTS` | Pass extra arguments to the backup command only, add them here e.g. `--extra-command` | | |
|
||||||
| `DB01_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |
|
| `DB01_EXTRA_ENUMERATION_OPTS` | Pass extra arguments to the database enumeration command only, add them here e.g. `--extra-command` | | |
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ bootstrap_variables() {
|
|||||||
transform_backup_instance_variable "${backup_instance_number}" AUTH backup_job_db_auth
|
transform_backup_instance_variable "${backup_instance_number}" AUTH backup_job_db_auth
|
||||||
transform_backup_instance_variable "${backup_instance_number}" BACKUP_BEGIN backup_job_backup_begin
|
transform_backup_instance_variable "${backup_instance_number}" BACKUP_BEGIN backup_job_backup_begin
|
||||||
transform_backup_instance_variable "${backup_instance_number}" BACKUP_INTERVAL backup_job_backup_interval
|
transform_backup_instance_variable "${backup_instance_number}" BACKUP_INTERVAL backup_job_backup_interval
|
||||||
|
transform_backup_instance_variable "${backup_instance_number}" BACKUP_GLOBALS backup_job_backup_pgsql_globals
|
||||||
transform_backup_instance_variable "${backup_instance_number}" BACKUP_LOCATION backup_job_backup_location
|
transform_backup_instance_variable "${backup_instance_number}" BACKUP_LOCATION backup_job_backup_location
|
||||||
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_BEGIN backup_job_snapshot_blackout_start
|
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_BEGIN backup_job_snapshot_blackout_start
|
||||||
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_END backup_job_snapshot_blackout_finish
|
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_END backup_job_snapshot_blackout_finish
|
||||||
|
|||||||
Reference in New Issue
Block a user