Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 42ad992

Browse files
committed
Add archive_command example
1 parent f1e4f3d commit 42ad992

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
#archive_mode = off # allows archiving to be done
187187
# (change requires restart)
188188
#archive_command = '' # command to use to archive a logfile segment
189+
# placeholders: %p = path of file to archive
190+
# %f = file name only
191+
# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
189192
#archive_timeout = 0 # force a logfile segment switch after this
190193
# number of seconds; 0 disables
191194

0 commit comments

Comments
 (0)