From 42ad992fdc25fa69db03ff242216f6712da2c56a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 3 Sep 2011 01:29:09 +0300 Subject: [PATCH] Add archive_command example --- src/backend/utils/misc/postgresql.conf.sample | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 65fd1266a1..e713defea2 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -186,6 +186,9 @@ #archive_mode = off # allows archiving to be done # (change requires restart) #archive_command = '' # command to use to archive a logfile segment + # placeholders: %p = path of file to archive + # %f = file name only + # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' #archive_timeout = 0 # force a logfile segment switch after this # number of seconds; 0 disables -- 2.40.0