バックアップして欲しいファイルは、VAR_ROOT 以下に置いてください。 [sample] File.open( File.join( VAR_ROOT, "foo.log" ), "w" ) { |f| f.puts "#{Time.now} OK" }