Doing backups

For backups (snapshots): Results stored in var/lib/cassandra/data/)​:

nodetool -h localhost snapshot mydb​ 

For restoring the data (where you may need to truncate/delete the table)​, perform the following:

We then copy the snapshot (database backup file) created before the directory: /var/lib/Cassandra/data/keyspace/table_name-UUID​ and then:

 nodetool refresh​
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.191.134