How do I backup data of Cassandra nodes running in Docker?
2
votes
1
answer
280
views
I hope to receive some tips and assistance.
I have three virtual machines running Ubuntu 22.04, and each one has Cassandra deployed via docker-compose, forming a cluster.
My current task is to organize an automatic backup of all keyspaces and schema to a remote server.
Has anyone already solved a similar problem? I cannot find any official information on this matter.
I currently see it in the following form, but I'm not sure if it's efficient:
docker exec -it container_id /bin/bash
nodetool snapshot
docker cp container_id:/data/keyspace_name/table_name-UUID/snapshots/snapshot_name /path/on/host/
Asked by Dmitriy
(21 rep)
Apr 26, 2023, 03:15 AM
Last activity: May 15, 2025, 06:01 PM
Last activity: May 15, 2025, 06:01 PM