example: --annotation=source="Sunday backup for website database"
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
default: n example: --archive-async
default: 128MiB allowed: [0B, 4PiB] example: --archive-get-queue-max=1GiB
default: y example: --no-archive-missing-retry
default: 1m allowed: [100ms, 1d] example: --archive-timeout=30
default: 1MiB example: --buffer-size=2MiB
default: [path of executed pgbackrest binary] example: --cmd=/var/lib/pgsql/bin/pgbackrest_wrapper.sh
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 1 allowed: [1, 999] example: --process-max=4
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
default: /var/spool/pgbackrest example: --spool-path=/backup/db/spool
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs
example: --pg1-path=/data/db
default: n example: --archive-async
default: y example: --no-archive-check
default: y example: --no-archive-mode-check
allowed: [0B, 4PiB] example: --archive-push-queue-max=1TiB
default: 1m allowed: [100ms, 1d] example: --archive-timeout=30
default: 1MiB example: --buffer-size=2MiB
default: [path of executed pgbackrest binary] example: --cmd=/var/lib/pgsql/bin/pgbackrest_wrapper.sh
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: y example: --no-compress
default (depending on compress-type): bz2 - 9 gz - 6 lz4 - 1 zst - 3 allow range (depending on compress-type): bz2 - [1, 9] gz - [-1, 9] lz4 - [-5, 12] zst - [-7, 22] example: --compress-level=9
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: gz example: --compress-type=none
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 1 allowed: [1, 999] example: --process-max=4
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
default: /var/spool/pgbackrest example: --spool-path=/backup/db/spool
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
default: y example: --no-archive-header-check
example: --pg-version-force=15
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
example: --pg1-path=/data/db
example: --annotation=source="Sunday backup for website database"
default: y example: --no-archive-check
default: n example: --archive-copy
default: y example: --no-archive-mode-check
default: 1m allowed: [100ms, 1d] example: --archive-timeout=30
default: n example: --backup-standby=y
example: --no-checksum-page
example: --exclude=junk/
default: y example: --expire-auto
default: n example: --force
default: 1GiB allowed: [1B, 1TiB] example: --manifest-save-threshold=8GiB
default: y example: --no-online
default: y example: --no-resume
default: n example: --start-fast
default: incr example: --type=full
default: 1MiB example: --buffer-size=2MiB
default: [path of executed pgbackrest binary] example: --cmd=/var/lib/pgsql/bin/pgbackrest_wrapper.sh
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: y example: --no-compress
default (depending on compress-type): bz2 - 9 gz - 6 lz4 - 1 zst - 3 allow range (depending on compress-type): bz2 - [1, 9] gz - [-1, 9] lz4 - [-5, 12] zst - [-7, 22] example: --compress-level=9
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: gz example: --compress-type=none
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 30m allowed: [100ms, 7d] example: --db-timeout=600
default: n example: --delta
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 1 allowed: [1, 999] example: --process-max=4
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
default: y example: --no-page-header-check
example: --pg-version-force=15
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: n example: --repo1-block
default: n example: --repo1-bundle
default: 2MiB allowed: [8KiB, 1PiB] example: --repo1-bundle-limit=10MiB
default: 20MiB allowed: [1MiB, 1PiB] example: --repo1-bundle-size=10MiB
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
default: n example: --repo1-hardlink
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
allowed: [1, 9999999] example: --repo1-retention-archive=2
default: full example: --repo1-retention-archive-type=diff
allowed: [1, 9999999] example: --repo1-retention-diff=3
allowed: [1, 9999999] example: --repo1-retention-full=2
default: count example: --repo1-retention-full-type=time
allowed: [0, 9999999] example: --repo1-retention-history=365
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: y example: --no-repo1-symlink
default: posix example: --repo1-type=cifs
default: postgres example: --pg1-database=backupdb
example: --pg1-host=db.domain.com
example: --pg1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --pg1-host-ca-path=/etc/pki/tls/certs
example: --pg1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --pg1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --pg1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --pg1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --pg1-host-config-path=/conf/pgbackrest
example: --pg1-host-key-file=/path/to/client.key
default (depending on pg-host-type): tls - 8432 allowed: [0, 65535] example: --pg1-host-port=25
default: ssh example: --pg1-host-type=tls
default: postgres example: --pg1-host-user=db_owner
example: --pg1-path=/data/db
default: 5432 allowed: [0, 65535] example: --pg1-port=6543
example: --pg1-socket-path=/var/run/postgresql
default: y example: --no-archive-check
default: y example: --no-archive-mode-check
default: 1m allowed: [100ms, 1d] example: --archive-timeout=30
default: n example: --backup-standby=y
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 30m allowed: [100ms, 7d] example: --db-timeout=600
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
default: postgres example: --pg1-database=backupdb
example: --pg1-host=db.domain.com
example: --pg1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --pg1-host-ca-path=/etc/pki/tls/certs
example: --pg1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --pg1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --pg1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --pg1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --pg1-host-config-path=/conf/pgbackrest
example: --pg1-host-key-file=/path/to/client.key
default (depending on pg-host-type): tls - 8432 allowed: [0, 65535] example: --pg1-host-port=25
default: ssh example: --pg1-host-type=tls
default: postgres example: --pg1-host-user=db_owner
example: --pg1-path=/data/db
default: 5432 allowed: [0, 65535] example: --pg1-port=6543
example: --pg1-socket-path=/var/run/postgresql
default: n example: --oldest
example: --set=20150131-153358F_20150131-153401I
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: n example: --dry-run
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
allowed: [1, 9999999] example: --repo1-retention-archive=2
default: full example: --repo1-retention-archive-type=diff
allowed: [1, 9999999] example: --repo1-retention-diff=3
allowed: [1, 9999999] example: --repo1-retention-full=2
default: count example: --repo1-retention-full-type=time
allowed: [0, 9999999] example: --repo1-retention-history=365
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: y example: --no-repo1-symlink
default: posix example: --repo1-type=cifs
default: full example: --detail-level=progress
default: text example: --output=json
example: --set=20150131-153358F_20150131-153401I
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: n example: --raw
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs
example: --filter="(F|D|I)$"
default: text example: --output=json
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs
default: preserve example: --archive-mode=off
example: --db-exclude=db_main
example: --db-include=db_main
default: n example: --force
default: n example: --link-all
example: --link-map=pg_xlog=/data/xlog
example: --recovery-option=primary_conninfo=db.mydomain.com
default: latest example: --set=20150131-153358F_20150131-153401I
example: --tablespace-map=ts_01=/db/ts_01
example: --tablespace-map-all=/data/tablespace
example: --target=2015-01-30 14:15:11 EST
default: pause example: --target-action=promote
default: n example: --no-target-exclusive
example: --target-timeline=3
default: default example: --type=xid
default: 1MiB example: --buffer-size=2MiB
default: [path of executed pgbackrest binary] example: --cmd=/var/lib/pgsql/bin/pgbackrest_wrapper.sh
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: n example: --delta
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 1 allowed: [1, 999] example: --process-max=4
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs
example: --pg1-path=/data/db
default: localhost example: --tls-server-address=*
example: --tls-server-auth=client-cn=stanza1,stanza2
example: --tls-server-ca-file=/path/to/server.ca
example: --tls-server-cert-file=/path/to/server.crt
default: 1MiB example: --buffer-size=2MiB
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: 1MiB example: --buffer-size=2MiB
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
allowed: [-20, 19] example: --priority=19
default: y example: --no-sck-keep-alive
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 30m allowed: [100ms, 7d] example: --db-timeout=600
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
default: postgres example: --pg1-database=backupdb
example: --pg1-host=db.domain.com
example: --pg1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --pg1-host-ca-path=/etc/pki/tls/certs
example: --pg1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --pg1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --pg1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --pg1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --pg1-host-config-path=/conf/pgbackrest
example: --pg1-host-key-file=/path/to/client.key
default (depending on pg-host-type): tls - 8432 allowed: [0, 65535] example: --pg1-host-port=25
default: ssh example: --pg1-host-type=tls
default: postgres example: --pg1-host-user=db_owner
example: --pg1-path=/data/db
default: 5432 allowed: [0, 65535] example: --pg1-port=6543
example: --pg1-socket-path=/var/run/postgresql
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 30m allowed: [100ms, 7d] example: --db-timeout=600
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
default: postgres example: --pg1-database=backupdb
example: --pg1-host=db.domain.com
example: --pg1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --pg1-host-ca-path=/etc/pki/tls/certs
example: --pg1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --pg1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --pg1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --pg1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --pg1-host-config-path=/conf/pgbackrest
example: --pg1-host-key-file=/path/to/client.key
default (depending on pg-host-type): tls - 8432 allowed: [0, 65535] example: --pg1-host-port=25
default: ssh example: --pg1-host-type=tls
default: postgres example: --pg1-host-user=db_owner
example: --pg1-path=/data/db
default: 5432 allowed: [0, 65535] example: --pg1-port=6543
example: --pg1-socket-path=/var/run/postgresql
default: 1MiB example: --buffer-size=2MiB
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 30m allowed: [100ms, 7d] example: --db-timeout=600
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
default: posix example: --repo1-type=cifs
default: postgres example: --pg1-database=backupdb
example: --pg1-host=db.domain.com
example: --pg1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --pg1-host-ca-path=/etc/pki/tls/certs
example: --pg1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --pg1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --pg1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --pg1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --pg1-host-config-path=/conf/pgbackrest
example: --pg1-host-key-file=/path/to/client.key
default (depending on pg-host-type): tls - 8432 allowed: [0, 65535] example: --pg1-host-port=25
default: ssh example: --pg1-host-type=tls
default: postgres example: --pg1-host-user=db_owner
example: --pg1-path=/data/db
default: 5432 allowed: [0, 65535] example: --pg1-port=6543
example: --pg1-socket-path=/var/run/postgresql
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
example: --stanza=main
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: n example: --force
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: /tmp/pgbackrest example: --lock-path=/backup/db/lock
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
example: --stanza=main
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: none example: --output=text
default: 1MiB example: --buffer-size=2MiB
default: [path of executed pgbackrest binary] example: --cmd=/var/lib/pgsql/bin/pgbackrest_wrapper.sh
default: ssh example: --cmd-ssh=/usr/bin/ssh
default: 1 allowed: [-5, 12] example: --compress-level-network=1
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --config-path=/conf/pgbackrest
default: 1m allowed: [100ms, 1h] example: --io-timeout=120
default: y example: --no-neutral-umask
allowed: [-20, 19] example: --priority=19
default: 1 allowed: [1, 999] example: --process-max=4
default: 31m allowed: [100ms, 7d] example: --protocol-timeout=630
default: y example: --no-sck-keep-alive
example: --stanza=main
allowed: [1, 32] example: --tcp-keep-alive-count=3
allowed: [1, 3600] example: --tcp-keep-alive-idle=60
allowed: [1, 900] example: --tcp-keep-alive-interval=30
example: --tls-cipher-12=HIGH:MEDIUM:+3DES:!aNULL
example: --tls-cipher-13=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
default: warn example: --log-level-console=error
default: info example: --log-level-file=debug
default: off example: --log-level-stderr=error
default: /var/log/pgbackrest example: --log-path=/backup/db/log
example: --pg-version-force=15
allowed: [1, 256] example: --repo=1
example: --repo1-azure-container=pg-backup
default: shared example: --repo1-azure-key-type=sas
default: host example: --repo1-azure-uri-style=path
default: none example: --repo1-cipher-type=aes-256-cbc
example: --repo1-gcs-bucket=/pg-backup
default: storage.googleapis.com example: --repo1-gcs-endpoint=localhost
default: service example: --repo1-gcs-key-type=auto
example: --repo1-gcs-user-project=my-project
example: --repo1-host=repo1.domain.com
example: --repo1-host-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-host-ca-path=/etc/pki/tls/certs
example: --repo1-host-cert-file=/path/to/client.crt
default: [path of executed pgbackrest binary] example: --repo1-host-cmd=/usr/lib/backrest/bin/pgbackrest
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_FILE example: --repo1-host-config=/conf/pgbackrest/pgbackrest.conf
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH example: --repo1-host-config-include-path=/conf/pgbackrest/conf.d
default: CFGOPTDEF_CONFIG_PATH example: --repo1-host-config-path=/conf/pgbackrest
example: --repo1-host-key-file=/path/to/client.key
default (depending on repo-host-type): tls - 8432 allowed: [0, 65535] example: --repo1-host-port=25
default: ssh example: --repo1-host-type=tls
default: pgbackrest example: --repo1-host-user=repo-user
default: /var/lib/pgbackrest example: --repo1-path=/backup/db/backrest
example: --repo1-s3-bucket=pg-backup
example: --repo1-s3-endpoint=s3.amazonaws.com
default: shared example: --repo1-s3-key-type=auto
example: --repo1-s3-kms-key-id=bceb4f13-6939-4be3-910d-df54dee817b7
example: --repo1-s3-region=us-east-1
default: n example: --no-repo1-s3-requester-pays
example: --repo1-s3-role=authrole
default: host example: --repo1-s3-uri-style=path
example: --repo1-sftp-host=sftprepo.domain
example: --repo1-sftp-host-fingerprint=f84e172dfead7aeeeae6c1fdfb5aa8cf
default: strict example: --repo1-sftp-host-key-check-type=accept-new
example: --repo1-sftp-host-key-hash-type=sha256
default: 22 allowed: [1, 65535] example: --repo1-sftp-host-port=22
example: --repo1-sftp-host-user=pg-backup
example: --repo1-sftp-known-host=/home/postgres/.ssh/known_hosts
example: --repo1-sftp-private-key-file=~/.ssh/id_ed25519
example: --repo1-sftp-public-key-file=~/.ssh/id_ed25519.pub
example: --repo1-storage-ca-file=/etc/pki/tls/certs/ca-bundle.crt
example: --repo1-storage-ca-path=/etc/pki/tls/certs
example: --repo1-storage-host=127.0.0.1
default: 443 allowed: [1, 65535] example: --repo1-storage-port=9000
example: --repo1-storage-tag=key1=value1
part sizefor AWS S3,
chunk sizefor GCS, and
block sizefor Azure.
default (depending on repo-type): azure - 4MiB gcs - 4MiB s3 - 5MiB allow range (depending on repo-type): azure - [4MiB, 1GiB] gcs - [4MiB, 1GiB] s3 - [5MiB, 1GiB] example: --repo1-storage-upload-chunk-size=16MiB
default: y example: --no-repo1-storage-verify-tls
example: --repo-target-time=2024-08-08 12:12:12+00
default: posix example: --repo1-type=cifs