meskyanichi/backup — pull request #193 by m4 (2011-10-10 03:22:30+00:00)
Title: Split backup archive

Let me know what you think about this.

I did not inject the split behavior in a central place yet. Reason is, that really only the call to 'split!' can be centralized into lib/backup/model.rb or so. Everything that happens inside the loop of transferring or removing the backup files looks rather specific for every storage to me.

There is also no 'assemble' command yet. All it takes to assemble the parts back into the complete archive is 'cat chunk-* > whole' so I figured we do not need a Ruby wrapper for cat :-).