-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore keyspace fails #94
Comments
how do you install the tool? |
The same way as described in "how to install" 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 : |
@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 |
@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) |
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
load_entry_point('cassandra-snapshotter==1.0.0', 'console_scripts', 'cassandra-snapshotter')()
File "/usr/local/lib/python2.7/site-packages/cassandra_snapshotter/main.py", line 284, in main
restore_backup(args)
File "/usr/local/lib/python2.7/site-packages/cassandra_snapshotter/main.py", line 110, in restore_backup
args.s3_bucket_name
TypeError: init() takes exactly 6 arguments (5 given)
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
The text was updated successfully, but these errors were encountered: