Skip to content

Commit

Permalink
Added pg_dump_suffix example inside role docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanwilligen-prox committed Aug 2, 2022
1 parent 499a440 commit 977e08e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/backup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ It is also possible to tie the lifetime of the backup files to that of the AWXBa
clean_backup_on_delete: true
```
To customize the pg_dump command that will be executed on a backup use the `pg_dump_suffix` variable. This variable will append your provided pg_dump parameters to the end of the 'standard' command.
To customize the pg_dump command that will be executed on a backup use the `pg_dump_suffix` variable. This variable will append your provided pg_dump parameters to the end of the 'standard' command. For example to exclude the data from 'main_jobevent' and 'main_job' to decrease the size of the backup use:
```
pg_dump_suffix: "--exclude-table-data 'main_jobevent*' --exclude-table-data 'main_job'"
```
Testing
----------------
Expand Down

0 comments on commit 977e08e

Please sign in to comment.