On Wed, Jan 09, 2013 at 02:51:57PM -0600, John McKown wrote:

> Thanks for explaining. I guess the way to do a "cloud backup" would be
> to do a "git archive" and then encrypt and scp the archive to the
> "cloud".

That wouldn't preserve the history as `git archive` just extracts the tree
from the specified commit and makes a tarball out of it.

Hence `git bundle` is a more sensible soultion to the problem as it
basically creates a portable blob containing all the history it has been
told to process (or all).  As a possible bonus, `git bundle` is able to
wrap only what's changed since the specified commit so it could in
principle be used to set up incremental backups if bandwidth is an
issue.

-- 


Reply via email to