On Fri, Jul 30, 2021 at 7:21 PM Bowen Song <bo...@bso.ng> wrote:

> Since you have only one node, sstableloader is unnecessary. Copy/move the
> the data directory back to the right place and restart Cassandra or run 
> 'nodetool
> refresh' is sufficient. Do not restore the 'system' keyspace, but do
> restore the other system keyspaces, such as 'system_auth' and '
> system_schema'.
>
> In fact, it comes to my mind that the following is much quicker, simpler
> and should do the trick anyway:
>
> 1. shutdown Cassandra
>
> 2. backup /var/lib/cassandra (just in case...)
>
> 3. run 'rm -rf
> /var/lib/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377'
>
> 4. change num_tokens
>
> 5. start Cassandra
>
>
>
Thanks Bowen, I used simple procedure, everything worked well, data is
there.

Regards,
Maxim.

Reply via email to