lib/s3backup/manager.rb in s3backup-0.6.1 vs lib/s3backup/manager.rb in s3backup-0.6.2
- old
+ new
@@ -164,9 +164,11 @@
@target.post(target_tree_name,old_tree.dump_yaml)
end
diff_info[:directory][:remove].each do |rm_dir|
delete_direcory(rm_dir)
end
+ #今回のファイル・ツリーをAWS S3に登録
+ @target.post(target_tree_name,tree_info.dump_yaml)
end
def get_target_tree(dir)
base_dir = dir
tree_data = nil
before_base=""