nuvo / cain

Backup and restore tool for Cassandra on Kubernetes
Apache License 2.0
32 stars 21 forks source link

Failing restore at "Getting materialized views to exclude" #18

Closed Fhed closed 5 years ago

Fhed commented 5 years ago

Hello,

It is a few days I'm trying to troubleshoot this issue and if anybody could help that would be great!

I'm trying to restore a cassandra backup stored in S3 with the following command:

cain restore --src s3://xxxx/xxxx/database/cassandra -n my_namespace --keyspace my_keyspace -t 20190915010007 -l role=cassandra 2019/09/23 14:00:53 Restore started! 2019/09/23 14:00:53 Getting clients 2019/09/23 14:00:53 Getting pods 2019/09/23 14:00:53 Testing existence of data dir 2019/09/23 14:00:53 Getting current schema 2019/09/23 14:00:54 Found schema: 43fa34 2019/09/23 14:00:54 Calculating paths. This may take a while... 2019/09/23 14:01:20 Validating pods match restore 2019/09/23 14:01:20 Getting materialized views to exclude 2019/09/23 14:01:20 error in Stream: command terminated with exit code 2

Any idea what's wrong?

Fhed commented 5 years ago

This is happening because I'm using an old version of cassandra which doesn't support materialized views