postgresql_16:9.6.6.1 Configuration Parameters
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > basic_archive — an example WAL archive module > Configuration Parameters
basic_archive.archive_directory (string)
The directory where the server should copy WAL segment files. This directory must already exist. The default is an empty string, which effectively halts WAL archiving, but if (see guc-archive-mode) is enabled, the server will accumulate WAL segment files in the expectation that a value will soon be provided.
These parameters must be set in postgresql.conf. Typical usage might be:
# postgresql.conf archive_mode = 'on' archive_library = 'basic_archive' basic_archive.archive_directory = '/path/to/archive/directory'