diff options
| author | Peter Eisentraut | 2011-09-02 22:29:09 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2011-09-02 22:29:09 +0000 |
| commit | 42ad992fdc25fa69db03ff242216f6712da2c56a (patch) | |
| tree | a0db58371da42d13f8fc76b4c343f5f3ef9408d2 | |
| parent | f1e4f3d44f38b76afbdccf92573c797805f5d62d (diff) | |
Add archive_command example
| -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 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 |
