nodetool clearsnapshot

Removes one or more snapshots.

Removes one or more snapshots.

Synopsis

nodetool <options> clearsnapshot -t <snapshot> -- ( <keyspace> ... )
  • Options are:
    • ( -h | --host ) <host name> | <ip address>
    • ( -p | --port ) <port number>
    • ( -pw | --password ) <password >
    • ( -u | --username ) <user name>
    • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )
  • -t means the following file contains the snapshot.
  • snapshot is the name of the snapshot.
  • -- separates an option from an argument that could be mistaken for a option.
  • keyspace is one or more keyspace names, separated by a space.

Description

Deletes snapshots in one or more keyspaces. To remove all snapshots, omit the snapshot name.