Home > Archive > Slony1 PostgreSQL Replication > January 2006 > Using slonik_build_env









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using slonik_build_env
Aaron Randall

2006-01-03, 11:24 am

Hi Guys!

I have successfully started Slony replicating from a one server to
another, by manually creating a slon_tools.conf file. This was fine for
testing, but I have a large database that grows often, and I would like
the configuration file to be created by reading out the current table
list from the database. I know that "slonik_build_env" was written for
exactly this purpose, and I have looked at the code for this file and
tried out the SQL Query (which is exactly what I am looking for :D ).

My only problem is that I can't get the correct syntax to use this
script! Seems like a simple one, but I could really do with an example
from someone, as I am trying and keep getting the error - "At least one
node is required at ./slonik_build_env line 27."

I know that it gives the usage as "-node
host:database:user[:password:port] [-node ...]" but I just can't get it
working!

Many thanks in advance,

Aaron
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com