Skip to content

Instantly share code, notes, and snippets.

View sweyrick's full-sized avatar

Stephen Weyrick sweyrick

  • Figure Inc.
  • Reno, NV
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sweyrick on github.
  • I am sweyrick (https://keybase.io/sweyrick) on keybase.
  • I have a public key ASAOuhMcYuML0vvWtMbBJ6MtklEOVe2E0j2UykcMNPXpDAo

To claim this, I am signing this object:

WAL-E needs to be installed on all machines, masters and slaves.

How to install WAL-E

Only one machine, the master, writes WAL segments via continuous archiving. The configuration for the master postgresql.conf is:

archive_mode = on
archive_command = 'envdir /etc/wal-e.d/env wal-e wal-push %p'
archive_timeout = 60
#!/bin/bash
#===============================================================================
#
# FILE: getgeo.sh
#
# USAGE: ./getgeo.sh
#
# DESCRIPTION: run the script so that the geodata will be downloaded and inserted into your
# database
#