Advertisement
Guest User

Untitled

a guest
Sep 25th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. archive_command = 'test ! -f /path/to/archive/%f && cp %p /path/to/archive/%f'
  2.  
  3. test ! -f /path/to/archive/00000001000000A900000065 && cp pg_xlog/00000001000000A900000065 /path/to/archive/00000001000000A900000065
  4.  
  5. restore_command = 'cp /path/to/archive/%f %p'
  6.  
  7. scp /master/path/to/archive/* /slave/path/to/archive/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement