From a936d7e7fbbc432748d634c326b680d5063742d0 Mon Sep 17 00:00:00 2001 From: Sam Tunnicliffe Date: Tue, 3 Mar 2015 15:10:36 -0800 Subject: [PATCH] Update example commands in commitlog_archiving.properties patch by Sam Tunnicliffe; reviewed by Michael Shuler for CASSANDRA-8290 --- conf/commitlog_archiving.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/commitlog_archiving.properties b/conf/commitlog_archiving.properties index be4692e48a..109a50b91d 100644 --- a/conf/commitlog_archiving.properties +++ b/conf/commitlog_archiving.properties @@ -27,7 +27,7 @@ # Command to execute to archive a commitlog segment # Parameters: %path => Fully qualified path of the segment to archive # %name => Name of the commit log. -# Example: archive_command=/bin/ln %path /backup/%name +# Example: archive_command=/bin/cp -f %path /backup/%name # # Limitation: *_command= expects one command with arguments. STDOUT # and STDIN or multiple commands cannot be executed. You might want @@ -37,7 +37,7 @@ archive_command= # Command to execute to make an archived commitlog live again. # Parameters: %from is the full path to an archived commitlog segment (from restore_directories) # %to is the live commitlog directory -# Example: restore_command=cp -f %from %to +# Example: restore_command=/bin/cp -f %from %to restore_command= # Directory to scan the recovery files in.