Skip to content

pgBackRest AWS S3 configuration example #259

Answered by vitabaks
rez0n asked this question in Q&A
Discussion options

You must be logged in to vote

@rez0n Hi!

the variables repo1-host and repo1-host-user are superfluous since you have chosen pgbackrest_repo_type: "s3".

The pgbackrest documentation is an excellent source of information on setting up pgbackrest.conf and I strongly recommend that you study the documentation before using it.

I don't personally use amazon s3 but I use minio s3, here is an example of one of my configurations:

pgbackrest_install: true
pgbackrest_install_from_pgdg_repo: true
pgbackrest_stanza: "my_stanza_name"
pgbackrest_repo_type: "s3"
pgbackrest_repo_host: ""
pgbackrest_repo_user: ""
pgbackrest_conf_file: "/etc/pgbackrest/pgbackrest.conf"

pgbackrest_conf:
  global:  # [global] section
    - {option: "re…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rez0n
Comment options

Answer selected by rez0n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants