Backup Repository Configuration
In this option, you can define the location where the following will be stored:
- Backup metadata
- The backups themselves
- Transaction logs that enable future restoration
The Backup Repository is, in practice, a copy of the instance's directory (PGDATA) and the transaction logs (which ensure the consistency of backups).
Multiple repositories can be configured per backup, and they can be distributed across different servers.
Non-interactive execution is disabled for this operation.
-
Select the
PgSmart Agent
(or register new Agent). -
Select the
Repositório de backup
section (selection is made with the [spaces] key).Upon selecting the
Repositório de backup
section, the following operations are made available:- Listar Allows listing backup repositories.
- Adicionar Allows adding backup repository.
- Editar Allows editing backup repository.
- Remover Allows removing backup repository.
List Backup Repositories
- Instructions
- Video
-
Select the
Listar
operation. -
The configured backup repositories will be displayed.
Figure 1 - Backup Repository Configuration - List
Add a Backup Repository
- Instructions
- Video
-
Select the
Adicionar
operation. -
Select the
Section
of the configuration file. -
Select the
Operation
in which the parameter can be configured. -
Enter the
full path
to theBackup repository
. -
Confirm if you want to define the retention time for backups in the repository.
5.1. Select the
retention time definition method
(whether in days or maximum quantity).5.2. Enter the
maximum number of days
or backups for the expiration offull
backups.5.3. Enter the
maximum value
in days or backup quantity for retention offull
backups.5.4. Enter the
maximum quantity
for retention ofdifferential
backups. -
Confirm the addition of the Backup repository.
Figure 2 - Backup Repository Configuration - Create
Remove a Backup Repository
- Instructions
- Video
-
Select the
Remover
operation. -
Select the
Backup Repository
you wish to remove. -
Confirm the removal of the repository.

-
By default, backups will be performed for all registered repositories. PgSmart currently does not support targeting a specific repository for backups, although pgBackRest supports this feature.
-
This feature will be available in a future version.
-
To perform this operation in PostgreSYS, use the "Global Settings" section, where access to all pgBackRest parameters is provided, enabling the creation and specific parameter configuration to indicate the target repository (this option requires more specific knowledge of pgBackRest, and further details can be obtained in the pgBackRest component documentation).