Backup/Restore script for cassandra/zk broken in 5.0.x
Bug #1794200 reported by
Michael Henkel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
alexey-mr | |||
Trunk |
Fix Committed
|
High
|
alexey-mr |
Bug Description
Backup/Restore script for cassandra/zk broken in 5.0.x
Steven Sciriha <email address hidden> tried it and it work for him
following following instructions from Aswani:
Use db_json_exim.py from 'config_api' container
docker ps -a | grep config_api
backup python2. 7/site- packages/ cfgm_common
1)docker exec -it <config_container>
2)cd /usr/lib/
3)python db_json_exim.py --export-to db-dump.json
restore docker/ volumes/ config_ *
If u want to try restore on same cluster
1)stop Cassandra ,zookeeper and kafka containers in all nodes and delete config
config-location: /var/lib/
2)Start Cassandra and zookeeper containers
3) python db_json_exim.py --import-from db-dump.json
4)start kafka containers on all nodes
Thanks,
Aswani Kumar