Commit log archive configuration
Cassandra provides commit log archiving and point-in-time recovery.
Cassandra provides commit log archiving and point-in-time recovery. The commit log is archived at node startup and when a commit log is written to disk, or at a specified point-in-time. You configure this feature in the commitlog_archiving.properties configuration file.
Package installations | /etc/cassandra/commitlog_archiving.properties |
Tarball installations | install_location/conf/commitlog_archiving.properties |
Windows installations | C:\Program Files\DataStax Community\apache-cassandra\conf\commitlog_archiving.properties |
The commands archive_command and restore_command expect only a single command with arguments. The parameters must be entered verbatim. STDOUT and STDIN or multiple commands cannot be executed. To workaround, you can script multiple commands and add a pointer to this file. To disable a command, leave it blank.