Hi Scott, > On 07. Dec, 2020, at 14:53, Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx> wrote: > > The point of the archive command is to copy to the replica. If you're archiving on master, then using some script to copy to replica, then postgres has no way to know when it is safe to delete WAL files. in my understanding, this is only true if you don't use replication slots. If you use replication slots then the primary should know when a WAL file is no longer needed and abandoned or ready to be recycled. Cheers, Paul