Open thesmart opened 10 years ago
+1 would love to just run the backups directly from the nodes rather than an orchestration host.
+1 I want my cassandra nodes to backup themselves
So I actually worked around this by adding SSH users with keys just to itself and passwordless sudo. The ssh authorized key entry has from="%{::ipaddress}"
at the front, so no other nodes (should) be able to use the key. It's a silly approach but it does work and avoids external hosts with passwordless remote sudo.
:+1: to the suggestion of being able to run locally (without silly workarounds). I'd love to be able to use Chef to enable this automatically on all Cassandra hosts.
+1 I would like to execute locally the backup of a concrete node.
Currently the backup command takes
--hosts
option to run snapshot commands on each of the cassandra nodes. It would be useful if specifying "localhost" alone would run the snapshot command locally rather than via SSH.I could see that this might lead to end-user thinking they could have localhost as one node among many non-local nodes. So maybe a new command, like
local_backup
or something?