Skip to content

probackup_ctl

Inspect and operate pg_probackup catalogs, including filesystem, SFTP, and S3 storage.

probackup_ctl · Inspect and operate pg_probackup catalogs, including filesystem, SFTP, and S3 storage.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101952probackup_ctlprobackup_ctl1.0ADMINMITC

Usage

Sources:

probackup_ctl Inspect and operate pg_probackup catalogs, including filesystem, SFTP, and S3 storage.

Enablement

Install the files for the intended server, then create probackup_ctl in the target database:

CREATE EXTENSION probackup_ctl;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

select * from probackup.log(catalog_id=>2,pg_instance=>'dba1',backup_id=>(select backup_id from probackup.show(catalog_id=>2)));

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
probackup.backupFUNCTIONCallable function from the reviewed install surface.
probackup.showFUNCTIONCallable function from the reviewed install surface.
probackup.catalogsTABLEExtension-owned table; account for its data in backup and upgrades.
probackup.register_catalogFUNCTIONCallable function from the reviewed install surface.
probackup.deleteFUNCTIONCallable function from the reviewed install surface.
probackup.logFUNCTIONCallable function from the reviewed install surface.
probackup.s3_configTABLEExtension-owned table; account for its data in backup and upgrades.
probackup.sftp_configTABLEExtension-owned table; account for its data in backup and upgrades.

Operations and Boundaries

  • The extension fixes or creates schema objects under probackup; include them in privilege and backup review.

Table reader