Changes between Version 1 and Version 2 of jazz/Cassandra


Ignore:
Timestamp:
Dec 20, 2017, 9:54:24 AM (7 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Cassandra

    v1 v2  
    88}}}
    99
     10* 備份 `A.A.A.A` 整個 Cassandra 的 Schema
     11{{{
     12root@cqlsh:~# cqlsh -e "DESC SCHEMA" A.A.A.A > /tmp/db_schema.cql
     13}}}
     14* 還原整個 Cassandra 的 Schema 到另一台 `B.B.B.B` 新的機器
     15{{{
     16root@cqlsh:~# cqlsh B.B.B.B
     17cqlsh> source '/tmp/db_schema.cql'
     18}}}
     19