mirror of
https://github.com/infra7ti/dbtool.git
synced 2025-12-06 07:12:38 -03:00
28 lines
499 B
INI
28 lines
499 B
INI
[engines]
|
|
mysql=false
|
|
postgresql=true
|
|
|
|
[postgresql]
|
|
env=prod
|
|
db_host=db.example.org
|
|
db_password=P4SsW0rd.
|
|
db_port=6432
|
|
db_user=dbuser
|
|
|
|
[psql]
|
|
exec = /usr/bin/psql
|
|
extraopts =
|
|
extension = sql
|
|
|
|
[pg_dump]
|
|
dump_format = custom
|
|
exec = /usr/bin/pg_dump
|
|
extraopts = "-b --exclude-table-data=logs_logs --exclude-table-data=logs_detalhe --exclude-table-data=ecf_exportar_osv_id_seq"
|
|
extension = pgc
|
|
|
|
[pg_restore]
|
|
restore_format = custom
|
|
exec = /usr/bin/pg_restore
|
|
extraopts = "--role dbuser"
|
|
extension = pgc
|