There are two types of backup techniques I am interested in:
a) SCHEMA backup, which recover database schema (add or remove column, change type of column, add table, etc)
b) DATA backup, which recover data (update, read from one table to another).
Let me explain by example:
- First I create the entity 'customer'
Customer
| id | name |
| 11 | jack |
- Now I create a snapshot using nodetool
- After that I alter the table adding a new column 'test'
| id | name | test |
| 11 | jack | a value |
- Make a second snapshot using the nodetool
- Now I try to recover the first snapshot by copying the snapshot data in the correct directory (as described here) and unfortunately I get:
| id | name | test |
| 11 | jack | NULL |
... instead of the expected ...
| id | name |
| 11 | jack |
How can I get the expected first snapshot?
Update 1
Related issues: