Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export parameters? #2360

Closed
t-ushar opened this issue May 23, 2024 · 1 comment
Closed

How to export parameters? #2360

t-ushar opened this issue May 23, 2024 · 1 comment
Assignees
Labels

Comments

@t-ushar
Copy link

t-ushar commented May 23, 2024

Please provide the following information when submitting an issue (feature requests or general comments can skip this):

  1. pgBackRest version:
    pgbackrest version
    pgBackRest 2.51

  2. PostgreSQL version:
    psql (PostgreSQL) 15.6

  3. Operating system/version - if you have more than one server (for example, a database server, a repository host server, one or more standbys), please specify each:

Red Hat - 8

  1. Did you install pgBackRest from source or from a package?
    Package

I am looking for a way how we can export below parameters instead of having them into the conf file.


repo1-s3-endpoint=<endpoint>
repo1-s3-region=<region>
repo1-s3-key=<Key>
repo1-s3-key-secret=<secret>


Is there a way to export them before the execution of backup or restore command, to avoid having those values into the conf file.

Conf file.

[global]
process-max=256
repo1-path=/pgbackrest/15
repo1-retention-full=2
repo1-s3-bucket=my-poc-bucket
repo1-s3-endpoint=<endpoint>
repo1-s3-region=<region>
repo1-s3-key=<Key>
repo1-s3-key-secret=<secret>
repo1-s3-uri-style=path
repo1-type=s3
repo1-storage-verify-tls=n
start-fast=y
compress-level=6
compress-type=lz4

[global:archive-push]
compress-level=3
process-max=4
archive-async=y


[demo]
pg1-path=/data/5432/
pg1-port=5432

@dwsteele dwsteele self-assigned this May 23, 2024
@dwsteele
Copy link
Member

If you mean environment variables, then see https://pgbackrest.org/command.html#introduction.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants