Skip to content

Commit

Permalink
fix backup remote data
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Ivak committed Dec 27, 2016
1 parent 2ccac89 commit 266b294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/backup/remote_data.rb
Expand Up @@ -138,7 +138,8 @@ def perform!
pipeline = Pipeline.new

#temp_tar_root= tar_root
temp_tar_root= temp_dir_path
#temp_tar_root= temp_dir_path
temp_tar_root= File.dirname(temp_local_file)
pipeline.add(
"#{ tar_command } #{ tar_options } -cPf - -C #{temp_tar_root } #{ File.basename(temp_local_file) }",
tar_success_codes
Expand Down
2 changes: 1 addition & 1 deletion lib/backup/version.rb
@@ -1,5 +1,5 @@
# encoding: utf-8

module Backup
VERSION = '0.0.9'
VERSION = '0.0.10'
end

0 comments on commit 266b294

Please sign in to comment.