cassandra_snapshotter
cassandra_snapshotter copied to clipboard
Restore keyspace fails
I am getting following error during restore. Any idea what is causing this failure?
Traceback (most recent call last):
File "/usr/local/bin/cassandra-snapshotter", line 9, in
My restore command is as follows: cassandra-snapshotter --s3-bucket-name=mybucket --s3-bucket-region=us-west-2 --s3-base-path=/backups --aws-access-key-id=accesskey --aws-secret-access-key=secretkey restore --snapshot-name=LATEST --keyspace=mykeyspace --hosts=host1 --target-hosts=host1
how do you install the tool?
The same way as described in "how to install" pip install cassandra_snapshotter sudo yum install lzop
BTW I am able to take backup without any issues. However when I try to list I get blank list (although there are previous snapshots on s3).
I can confirm that in the version installed via pip restoring a backup gives this error. Does the pull-request on improving restore solve this by any chance?
any clues/ info on how to resolve this issue would be appreciated..
I installed it on pip too and restore doesn't work for me too :
Traceback (most recent call last):
File "/usr/local/bin/cassandra-snapshotter", line 11, in
@omeega you need to look at the improve_restore branch.
@kapilnayar thx the improve_restore branch works good.
this has been already fixed in master already, looks like. New version should be pushed to PYPI, because in the meantime installing it with pip
is broken.
@omeega i too installed by pip and not working for me. Could you help me on how did you solved?
@siddhu07, I used the improve_restore branch. (https://github.com/tbarbugli/cassandra_snapshotter/network)