Thats brilliant, thanks.

On Thu, Sep 1, 2011 at 7:07 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
yes, cli "show schema" in 0.8.4+

On Thu, Sep 1, 2011 at 12:52 PM, J T <jt4websites@googlemail.com> wrote:
> Hi,
>
> I'm probably being blind .. but I can't see any way to dump the schema
> definition (and the data in it for that matter)  of a cluster in order to
> capture the current schema in a script file for subsequent replaying in to a
> different environment.
>
> For example, say I have a DEV env and wanted to create a script containing
> the cli commands to create that schema in a UAT env.
>
> In my case, I have a cassandra schema I've been tweaking / upgrading over
> the last 2 years and I can't see any easy way to capture the schema
> definition.
>
> Is such a thing on the cards for cassandra-cli ?
>
> JT
>



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com