instance-postgres-export.cfg.in 657 Bytes
Newer Older
1 2 3 4 5 6
[buildout]
extends = ${instance-postgres:output}
          ${pbsready-export:output}


parts +=
7 8 9 10 11 12
    urls
    postgres-instance
    postgres-promise

# have to repeat the next one, as it's not inherited from pbsready-export
    cron-entry-backup
13 14 15 16 17 18 19 20 21


[exporter]
recipe = slapos.cookbook:postgres.export
wrapper = $${rootdirectory:bin}/$${slap-parameter:namebase}-exporter
bin = $${postgres-instance:bin}
pgdata-directory = $${postgres-instance:pgdata-directory}
backup-directory = $${postgres-instance:backup-directory}
dbname = $${postgres-instance:dbname}
22 23 24 25 26


# Extends publish section with resilient parameters
[urls]
<= resilient-publish-connection-parameter