Permalink
Browse files

keep original backup data for debugging purposes

  • Loading branch information...
ronniedada committed Aug 21, 2013
1 parent 5135396 commit 3881068c632ece2598e9726d3f570cdca42a9eab
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbooks/couchbase/recipes/restore-2.1.1.rb
@@ -133,7 +133,7 @@
execute "restoring data from a backup location: #{new_dir} -> #{mount_point}" do
command("/etc/init.d/couchbase-server stop && cd #{mount_point} && " +
" rm -rf #{node[:db_couchbase][:bucket][:name]} && " +
" mv -f #{new_dir}/* #{mount_point} && " +
" cp -R #{new_dir}/* #{mount_point} && " +
" /etc/init.d/couchbase-server start")
action :run
end

0 comments on commit 3881068

Please sign in to comment.