question

sunil281984 avatar image
sunil281984 asked Erick Ramirez answered

Failed to restore snapshot for DS210 exercise

Hello Team,

In the Backup and Restore exercise of datastax 210. I have taken the backup of snapshot and while restoring using sstable loader I can see no files are restored. please help me in fixing this issue asap. Please have a look at the steps which I used for backup and restore on all nodes:

ubuntu@ds210-node2:~$ sudo sh -c 'ls -al /var/lib/cassandra/data/killr_video/user_by_email-*/snapshots/'
total 12
drwxr-xr-x 3 cassandra cassandra 4096 Sep 6 14:00 .
drwxr-xr-x 4 cassandra cassandra 4096 Sep 6 13:56 ..
drwxr-xr-x 2 cassandra cassandra 4096 Sep 6 13:36 1630935415536
ubuntu@ds210-node1:/$ sudo sh -c 'sstableloader -d `hostname -i` /var/lib/cassandra/data/killr_video/user_by_email-*'
Opening sstables and calculating sections to stream

Summary statistics:
Connections per host : 1
Total files transferred : 0
Total bytes transferred : 0.000KiB
Total duration : 3602 ms
Average transfer rate : 0.000KiB/s
Peak transfer rate : 0.000KiB/s
ds210
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

In my experience, the most likely cause is that you missed a step in the instructions. Unfortunately, it would be impossible for us to diagnose the problem without knowing the exact steps you performed and the associated commands you ran.

The only suggestion I can make is to reset your environment and try again. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.