diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-09-03 01:29:09 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-09-03 01:29:09 +0300 |
commit | 42ad992fdc25fa69db03ff242216f6712da2c56a (patch) | |
tree | a0db58371da42d13f8fc76b4c343f5f3ef9408d2 /src | |
parent | f1e4f3d44f38b76afbdccf92573c797805f5d62d (diff) | |
download | postgresql-42ad992fdc25fa69db03ff242216f6712da2c56a.tar.gz postgresql-42ad992fdc25fa69db03ff242216f6712da2c56a.zip |
Add archive_command example
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 65fd1266a16..e713defea2c 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 |