0

My cassandra backup often returns with errors because users move/change it during the compression (we just tar it). Users are logged to the server 24/7 so we can't just change backup hours. I need some ideas/solutions how to avoid those errors or a better way for cassandra backups.

wazoox
  • 6,782
  • 4
  • 30
  • 62

1 Answers1

1

You shouldn't do the backup on the real data, but instead you need to create snapshot of the data on server using the nodetool snapshot, and do backup from it. After you finished the backup, you can clear snapshots using the nodetool clearsnapshot. For better understanding on how backup and restore works, please look to this DataStax support article.

Alex Ott
  • 316
  • 1
  • 5