lib/geordi/remote.rb in geordi-1.10.0 vs lib/geordi/remote.rb in geordi-2.0.0
- old
+ new
@@ -43,10 +43,10 @@
destination_path = File.join(destination_directory, "#{@stage}.dump")
relative_destination = Pathname.new(destination_path).relative_path_from Pathname.new(@config.root)
note "Downloading remote dump to #{relative_destination} ..."
server = @config.primary_server
- Util.system! "scp #{ @config.user(server) }@#{ server }:#{REMOTE_DUMP_PATH} #{destination_path}"
+ Util.system! "scp -C #{ @config.user(server) }@#{ server }:#{REMOTE_DUMP_PATH} #{destination_path}"
success "Dumped the #{@stage} database to #{relative_destination}."
destination_path
end