thelastpickle / cassandra-medusa

Apache Cassandra Backup and Restore Tool
Apache License 2.0
266 stars 143 forks source link

DSE snapshots are recursive and therefore broken #703

Closed rzvoncek closed 10 months ago

rzvoncek commented 10 months ago

Project board link

The way Medusa creates DSE snapshots is by copying the DSE metadata folder into itself, but under snapshots folder. If this happens repeatedly, the shutiil.copytree explodes in its recursion depth, causing deep tree which breaks things ([Errno 63] File name too long:).