Skip to content

ffahimi/postgres-scripts

 
 

Repository files navigation

postgres-scripts

Only tested on SmartOS.

Dependencies

Start replication

Creating a new replica from a master:

export PATH=/opt/local/postgres-9.3.0/bin:$PATH
\curl -L https://raw.github.com/wanelo/postgres-scripts/master/replicate.sh | bash -s <master_ip> /var/pgsql/data93

Ensure that the pgbasebackup binary for your version of Postgres is in PATH before running this script.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%