| 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
|