Changes between Version 1 and Version 2 of jazz/Cassandra
- Timestamp:
- Dec 20, 2017, 9:54:24 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Cassandra
v1 v2 8 8 }}} 9 9 10 * 備份 `A.A.A.A` 整個 Cassandra 的 Schema 11 {{{ 12 root@cqlsh:~# cqlsh -e "DESC SCHEMA" A.A.A.A > /tmp/db_schema.cql 13 }}} 14 * 還原整個 Cassandra 的 Schema 到另一台 `B.B.B.B` 新的機器 15 {{{ 16 root@cqlsh:~# cqlsh B.B.B.B 17 cqlsh> source '/tmp/db_schema.cql' 18 }}} 19