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/