Go to configuring backup storage parameters in one of the following ways:
Using the backup section:
In the navigation panel, go to Backup → Retention policy.
Using the configuration section of an instance:
In the navigation panel, go to Infrastructure → Instances.
Click the name of the instance.
In the navigation panel, go to Backup → Retention policy.
Click next to the storage.
The following parameters will be displayed:
Local catalog: The storage where the backup is located.
Instance: The instance for which the backup is created.
Instance bind ID: The name of the instance bind.
Specify the following backup storage parameters:
Full backups, pcs.: The maximum number of full backups.
For example, if you enter 3, the catalog
can contain a maximum of three full backups.
To disable this limitation, enter 0.
In this case, the number of backups in the catalog is
not limited.
Retention window, days: The number of days (24 hours) covered by backups.
For example, if you enter 7, the
catalog must always contain backups required for
restoring the data for the last seven days, including
today.
To disable this limitation, enter 0.
In this case, backups can be deleted from the
catalog at any moment.
WAL depth, pcs.: The minimum number of backups on each timeline. Having backups on all timelines is required for point-in-time recovery (PITR).
For example, if you enter 3, the catalog
must always contain at least three backups on each timeline.
To disable this limitation, enter 0.
In this case, point-in-time recovery is not available.
Expired copies: The management policy for expired backups.
Possible values:
Merge: Merge expired backups with new ones if possible.
Delete: Delete expired backups from the catalog.
You can enable all checkboxes simultaneously.
Full backups, pcs, Retention window, days, and WAL depth, pcs are applied only if you enable Merge and/or Delete in Expired copies.
Values of Full backups, pcs. and Retention window, days are considered simultaneously when deleting expired backups from the catalog.
For example, if you enter 3 in
Full backups, pcs. and
7 in Retention window, days,
a maximum of three full backups are saved, as well as
all backups required for restoring the data for the past
seven days, including today.
The following priority is applied:
backup parameters are applied first
instance parameters are applied second
storage parameters are applied third
For more information about storage parameters, refer to the official Postgres Pro documentation on pg_probackup.
Click Save.