cassandra_snapshotter icon indicating copy to clipboard operation
cassandra_snapshotter copied to clipboard

Enhancement: run snapshot locally for localhost

Open thesmart opened this issue 10 years ago • 5 comments

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?

thesmart avatar Sep 16 '14 20:09 thesmart

+1 would love to just run the backups directly from the nodes rather than an orchestration host.

intjonathan avatar Dec 08 '14 20:12 intjonathan

+1 I want my cassandra nodes to backup themselves

alari avatar Jan 19 '15 12:01 alari

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.

intjonathan avatar Jan 20 '15 00:01 intjonathan

:+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.

eherot avatar Jul 08 '15 15:07 eherot

+1 I would like to execute locally the backup of a concrete node.

RuBiCK avatar Dec 03 '15 14:12 RuBiCK