Postgres Archivelog
Jump to navigation
Jump to search
https://www.postgresql.org/docs/14/continuous-archiving.html
-- alter system set wal_level=replica; alter system set archive_mode=on; alter system set wal_compression=on; alter system set archive_command = 'test ! -f /data/pg_archive/%f && cp %p /data/pg_archive/%f' ;