↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Versions

pg_basebackup server-side compression

Recorded source states and original language descriptions. Missing version evidence stays unknown.

The source snapshot records transitions for PostgreSQL 8.1–18. The historical matrix records independent cells for 7.4–18. Neither records support for PostgreSQL 19 or 20; newer versions remain unknown. These source claims are distinct from runtime measurements.

Backup, Restore, & Data Integrity

Description

pg_basebackup now supports server-side compression when creating a backup using the --compress flag. This includes gzip, lz4, and zstd (Zstandard) compression.

Selected version: PostgreSQL 18

Yes

20191817161514131211109.69.59.49.39.29.19.08.48.38.28.18.07.4
UnknownUnknownYesYesYesYesNoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNoUnknownUnknown

Compare versions

Original documentation links

Recorded legacy identifiers: 373

Complete source facts and provenance

yaml · center · 1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd

{
  "Key": "pg_basebackup-server-side-compression",
  "SourceKind": "yaml",
  "SourceDatabase": "center",
  "SourceTable": "featurematrix.yaml",
  "SourceKey": "pg_basebackup server-side compression",
  "SourceHash": "1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd",
  "Name": "pg_basebackup server-side compression",
  "NameLocale": "en",
  "GroupKey": "backup-restore-data-integrity",
  "GroupName": "Backup, Restore, \u0026 Data Integrity",
  "GroupLocale": "en",
  "Ordinal": 13,
  "GroupOrder": 10,
  "Facts": {
    "feature": {
      "description": "[`pg_basebackup`](https://www.postgresql.org/docs/current/app-pgbasebackup.html) now supports server-side compression when creating a backup using the `--compress` flag. This includes `gzip`, `lz4`, and `zstd` (Zstandard) compression.",
      "name": "pg_basebackup server-side compression",
      "versions": {
        "15": "Yes"
      }
    },
    "group": "Backup, Restore, \u0026 Data Integrity",
    "versions": {
      "max": 18,
      "min": 8.1
    }
  },
  "Cells": [
    {
      "Version": "10",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "11",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "12",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "13",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "14",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "15",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "16",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "17",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "18",
      "State": "yes",
      "EvidenceKind": "yaml-transition",
      "TransitionVersion": "15",
      "Supported": true,
      "Original": "Yes"
    },
    {
      "Version": "8.1",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.2",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.3",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "8.4",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.0",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.1",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.2",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.3",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.4",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.5",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    },
    {
      "Version": "9.6",
      "State": "no",
      "EvidenceKind": "yaml-default-no",
      "TransitionVersion": "",
      "Supported": false,
      "Original": "No"
    }
  ],
  "Texts": [
    {
      "Locale": "en",
      "Title": "pg_basebackup server-side compression",
      "BodyHTML": "\u003cp\u003e\u003ca href=\"https://www.postgresql.org/docs/current/app-pgbasebackup.html\" rel=\"nofollow\"\u003e\u003ccode\u003epg_basebackup\u003c/code\u003e\u003c/a\u003e now supports server-side compression when creating a backup using the \u003ccode\u003e--compress\u003c/code\u003e flag. This includes \u003ccode\u003egzip\u003c/code\u003e, \u003ccode\u003elz4\u003c/code\u003e, and \u003ccode\u003ezstd\u003c/code\u003e (Zstandard) compression.\u003c/p\u003e\n",
      "SourceHash": "1dd22bf9a7f3ec325b894e2836fda535a25529f246a94dd41d6abbfe9997f7fd",
      "ContentHash": "046522047d115af921947509e5f28f97bfabf4c7105c781dfab90a692dbd8974",
      "Payload": {
        "description": "[`pg_basebackup`](https://www.postgresql.org/docs/current/app-pgbasebackup.html) now supports server-side compression when creating a backup using the `--compress` flag. This includes `gzip`, `lz4`, and `zstd` (Zstandard) compression.",
        "name": "pg_basebackup server-side compression",
        "versions": {
          "15": "Yes"
        }
      }
    },
    {
      "Locale": "zh-Hans",
      "Title": "pg_basebackup 服务端压缩",
      "BodyHTML": "\u003cp\u003e\u003ccode\u003epg_basebackup\u003c/code\u003e 现在支持在服务端创建备份时直接执行压缩。\u003c/p\u003e\n",
      "SourceHash": "071091951021357a5f492adb04caed6febf4d315ac2626ca027a48dd8ec01d50",
      "ContentHash": "9af4e3fe3324d7e3c496b936a11f6e684643a12c307bd4dd39c5bd4f8277d434",
      "Payload": {
        "description": "`pg_basebackup` 现在支持在服务端创建备份时直接执行压缩。",
        "name": "pg_basebackup 服务端压缩"
      }
    }
  ],
  "GroupTitles": {
    "en": "Backup, Restore, \u0026 Data Integrity",
    "zh-Hans": "备份、恢复和数据完整性"
  },
  "LegacyIDs": [
    "373"
  ]
}

Complete source data JSON