Skip to content

ADBM-2913: Implement repo-push command#99

Merged
dkovalev1 merged 24 commits into2.54-cifrom
ADBM-2913
Mar 13, 2026
Merged

ADBM-2913: Implement repo-push command#99
dkovalev1 merged 24 commits into2.54-cifrom
ADBM-2913

Conversation

@dkovalev1
Copy link

@dkovalev1 dkovalev1 commented Feb 4, 2026

Our users need the ability to quickly restore tables (or sets of tables) from
a backup without the need to restore whole database. This accelerates recovery
operations after incidents such as accidenatal deletion/corruption of data and
saves disk space and time.

To support it the repo-push command is designed to manage metadata files in
the pgBackRest repository. This command allows saving table metadata associated
with restore points. The metadata is stored in the same repository as
the restore points and inherits the compression settings from the main
pgBackRest configuration file.

This commit implements repo-push command.

ADBM-2913

@dkovalev1 dkovalev1 changed the title Implement repo-push command ADBM-2913: Implement repo-push command Feb 5, 2026
silent-observer
silent-observer previously approved these changes Feb 6, 2026
Copy link
Member

@bandetto bandetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly, the purpose of repo-push is to push arbitrary files, which are called 'metadata' to the repository?

In the spec metadata files presented as JSON. Are files validated to be JSON anywhere?

@dkovalev1
Copy link
Author

Do I understand correctly, the purpose of repo-push is to push arbitrary files, which are called 'metadata' to the repository?

yes, that's right.

In the spec metadata files presented as JSON. Are files validated to be JSON anywhere?

No, pgbackrest do not care of the files content. They are going to be used for a metadata files, but from pgbackrest side it can be any files.

@bandetto
Copy link
Member

They are going to be used for a metadata files, but from pgbackrest side it can be any files.

Ok, if that case was discussed with the architect.

bandetto
bandetto previously approved these changes Feb 18, 2026
Copy link
Member

@bandetto bandetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Are tests ok?

@dkovalev1 dkovalev1 dismissed stale reviews from silent-observer and bandetto via 09d3abc March 11, 2026 14:59
@dkovalev1 dkovalev1 merged commit ee349b3 into 2.54-ci Mar 13, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants