PGHoard can archive PG&#x27;s WAL segments in two modes: streaming directly using pg_receivexlog or as an archive_command to archive complete segments.<p>When PGHoard is used in streaming mode it keeps reading new segments from PG and stores them in compressed &amp; encrypted form in a queue ready to be uploaded.  The segments will stay there until they can be uploaded.<p>When using archive_mode PGHoard handles the operation synchronously so PG won&#x27;t actually remove or recycle the WAL segment in question until the command completes.<p>Postgres will keep running normally in both cases, but the files will be queued in different places, compressed or uncompressed.  This may cause your disk to fill up eventually, but PGHoard will trigger an alart after a configurable number of upload failures.