![](https://seccdn.libravatar.org/avatar/b9cfe8f9b4c80697bd1406f180f8582f.jpg?s=120&d=mm&r=g)
On 14/05/2021 18.56, Thomas Weis wrote:
Yes, I expected that the smba tool would only archive a certain time frame. According to the documentation: "The smdba tool also manages your archives, keeping only the most recent backup, and the current archive of logs." Have I misinterpreted that and do I delete the superfluous archives manually or by script or does the smdba tool not do what it should do here?
My understanding is that `smdba backup-hot --enable=on` should run pg_archivecleanup under the hood, and the latter is supposed to clean up any stale WAL files, so that your backup only contains data in order to restore the database as of the time when it is running. If that is not the case, it could be due to a bug. Regards, -- Silvio Moioli SUSE Manager Development Team