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 backupsection (selection is made with the [spaces] key).Upon selecting the Repositório de backupsection, 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 Listaroperation.
- 
The configured backup repositories will be displayed.  Figure 1 - Backup Repository Configuration - List Figure 1 - Backup Repository Configuration - List
Add a Backup Repository
- Instructions
- Video
- 
Select the Adicionaroperation.
- 
Select the Sectionof the configuration file.
- 
Select the Operationin which the parameter can be configured.
- 
Enter the full pathto 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 daysor backups for the expiration offullbackups.5.3. Enter the maximum valuein days or backup quantity for retention offullbackups.5.4. Enter the maximum quantityfor retention ofdifferentialbackups.
- 
Confirm the addition of the Backup repository.  Figure 2 - Backup Repository Configuration - Create Figure 2 - Backup Repository Configuration - Create
Remove a Backup Repository
- Instructions
- Video
- 
Select the Removeroperation.
- 
Select the Backup Repositoryyou 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).