lib/backup/model.rb in backup-3.0.11 vs lib/backup/model.rb in backup-3.0.12

- old
+ new

@@ -238,10 +238,10 @@ # After all the databases and archives have been dumped and sorted, # these files will be bundled in to a .tar archive (uncompressed) so it # becomes a single (transferrable) packaged file. def package! Logger.message "Backup started packaging everything to a single archive file." - run("#{ utility(:tar) } -c -C '#{ TMP_PATH }' '#{ TRIGGER }' > '#{ File.join(TMP_PATH, "#{TIME}.#{TRIGGER}.tar") }'") + run(%|#{ utility(:tar) } -c -f '#{ File.join(TMP_PATH, "#{TIME}.#{TRIGGER}.tar") }' -C '#{ TMP_PATH }' '#{ TRIGGER }'|) end ## # Cleans up the temporary files that were created after the backup process finishes def clean!