PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

michal.gubik_174136 avatar image
michal.gubik_174136 asked ·

Should incremental backups match the schema when restoring data?

Hi I have quick question with regards to incremental backups of cassandra. Suppose I take a snapshot and schema backup and use incrementals and I lose the whole cluster. To me it seems logical restore keyranges, schema I took together with the snapshot backup and then restore incrementals . However I encountered situations that incrementals expected newer schema that was changed/different than the schema that was first backed up when taking initial snapshot backup. Am I supposed to take schema backup each time I backup the incrementals too or how does this work to keep schema consistent with incremental backups? If yes am I expected to import latest schema and then do the snapshot/incremental restore at once ? (edited)

cassandraincremental backup
10 |1000 characters needed characters left characters exceeded

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 ·

@michal.gubik_174136 the schema needs to match the backups in order for you to restore the files. We recommend that you take a snapshot every time you make a schema change so you always have a copy of the schema. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

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