By default, the log files in the wal directory that are backed up during a backup operation are deleted after the backup job. If you want, you can avoid this by deselecting the Archive Delete check box at the instance level.
Procedure
-
From the navigation pane, go to Protect > Databases.
The database Overview page appears.
-
Go to the Instances tab.
-
Click an instance for which you want to delete archive logs after a backup operation.
The instance page appears.
-
In the Overview tile, click Edit.
The Edit PostgreSQL instance dialog box appears.
-
Select the Delete archive logs checkbox to enable deletion after backup. Deselect this checkbox to avoid log cleanup.
-
Click Update.