LinuxCommandLibrary

pg_combinebackup

merges incremental backups with a full backup

TLDR

Combine incremental backups

$ pg_combinebackup [full_backup] [incr_backup] -o [output_dir]
copy
Combine multiple incrementals
$ pg_combinebackup [full] [incr1] [incr2] -o [output]
copy

SYNOPSIS

pg_combinebackup [options] backupdir... **-o** outputdir

DESCRIPTION

pg_combinebackup merges incremental backups with a full backup. Creates a complete backup from incremental chain. Part of PostgreSQL 17+ incremental backup feature.

PARAMETERS

-o, --output dir

Output directory.
-n, --dry-run
Show what would be done.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community