Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Not so idempotent behaivior of sequential pg_probakcup executions #219

Closed
Labels
Milestone
@alexign

Description

@alexign

Hello !
I have some strange behavior of sequential pg_probackup executions.

postgres@server:~/backup-tools# ls /backup/postgresql/backup/wal/ | grep exampledbexampledbpostgres@server:~/backup-tools# ls /backup/postgresql/backup/backups/exampledbls: cannot access '/backup/postgresql/backup/backups/exampledb': No such file or directorypostgres@server:~/backup-tools# pg_probackup-11  add-instance -B /backup/postgresql/backup -D /data/postgresql --instance exampledb --remote-host postgres.example.com --remote-user postgresERROR: arclog_path '/backup/postgresql/backup/wal/exampledb' already existspostgres@server:~/backup-tools# ls /backup/postgresql/backup/backups/exampledbpostgres@server:~/backup-tools# postgres@server:~/backup-tools# pg_probackup-11  add-instance -B /backup/postgresql/backup -D /data/postgresql --instance exampledb --remote-host postgres.example.com --remote-user postgresERROR: instance '/backup/postgresql/backup/backups/exampledb' already exists

So I think this behavior is not idempotent. When we try to execute pg_probackup several times one after another pg_probackup not only raises different error messages but also create inventory in broken state.
I think that before making any changes to file system pg_probackup should validate all conditions that possibly can prevent to create instance inventory successfuly.
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp