tbarbugli / cassandra_snapshotter

A tool to backup cassandra nodes using snapshots and incremental backups on S3
Other
222 stars 122 forks source link

Exclude tables from snapshot: handle C*2.1 naming #113

Open rhardouin opened 7 years ago

rhardouin commented 7 years ago

As you can see, C*2.0 compatibility is kept:

C*2.1

>>> table_name_with_uuid = 'mytable-15165f11e3f634af9d3afacf98868599'
>>> table_name = table_name_with_uuid.split('-')[0]
>>> table_name
'mytable'

C*2.0

>>> table_name_with_uuid = 'mytable'
>>> table_name = table_name_with_uuid.split('-')[0]
>>> table_name
'mytable'