JeremyGrosser / tablesnap

Uses inotify to monitor Cassandra SSTables and upload them to S3
BSD 2-Clause "Simplified" License
181 stars 86 forks source link

Missing root key in list returned by boto #44

Open KostasChr opened 10 years ago

KostasChr commented 10 years ago

Hi, tablesnap works like a charm.

But when I run

 tableslurp -k -s -n hostname -p  bucket_name 
/var/lib/cassandra/data/keyspace_name ~/Downloads/

I get

KeyError: '/var/lib/cassandra/data/keyspace_name' 

Printing the list I can see that only keys with subdirectories can be found, for example

/var/lib/cassandra/data/keyspace_name/table_name/keyspace_name-table_name-jb....-listdir.json 

When I try to retrieve these subdirectories, I get a LookupError: Cannot find anything to restore from.

Am I doing something wrong?