Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

pgbackrest repo expire issue #486

@prakashkaavya0110

Description

@prakashkaavya0110

hi team,

we are using pgbackrest on prod server however we are using the repo retention full is 1 but we could see the 3 backup set how to set this properly and we want to maintain 1 full backup please check below and help me.

backup info:

[12:38:37] postgres@upvpadb:~ $ /usr/bin/pgbackrest --config=/data/pgsql/pgbackrest/pgbackrest.conf --stanza=dds8prdpg --log-level-console=detail info
stanza: dds8prdpg
status: ok
cipher: none

db (current)
    wal archive min/max (12): 0000000100000005000000C6/0000000100000005000000CA

    full backup: 20240913-210006F
        timestamp start/stop: 2024-09-13 21:00:06+02 / 2024-09-13 21:00:12+02
        wal start/stop: 0000000100000005000000C6 / 0000000100000005000000C6
        database size: 232.6MB, database backup size: 232.6MB
        repo1: backup set size: 4MB, backup size: 4MB

    full backup: 20240914-210005F
        timestamp start/stop: 2024-09-14 21:00:05+02 / 2024-09-14 21:00:17+02
        wal start/stop: 0000000100000005000000C8 / 0000000100000005000000C8
        database size: 232.6MB, database backup size: 232.6MB
        repo1: backup set size: 4MB, backup size: 4MB

    full backup: 20240915-210005F
        timestamp start/stop: 2024-09-15 21:00:05+02 / 2024-09-15 21:00:11+02
        wal start/stop: 0000000100000005000000CA / 0000000100000005000000CA
        database size: 232.6MB, database backup size: 232.6MB
        repo1: backup set size: 4MB, backup size: 4MB

config file:

[12:33:46] postgres@upvpadb:~ $ cat /data/pgsql/pgbackrest/pgbackrest.conf

BEGIN pgbackrest.conf MANAGED BLOCK

[global]

endroit de la sauvegarde (ici montage NFS)

repo1-path=/Dumps/postgresql/dds8prdpg/pgbackrest

rC)tention minimum (sauvegardes complC(tes ici)

repo1-retention-full-type=time
repo1-retention-full=1
start-fast=y
process-max=4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA possible enhancement of an existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions