Re: how to backup git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 12, 2008 at 07:21:02PM +0100, Johannes Schindelin wrote:
> Heikki, why don't you just go with the "git fetch" approach I described?  
> We do not need "git backup" when "git fetch" does already what you want.

I need efficient (small) daily increment files. What I could do is 
something like:

1. rm -rf yesterday ; mv today yesterday

2. git clone yesterday today

3. cd today && git fetch /path/to/repo

4. create an increment file (from yesterday to today) or a full

The above should just be something like (why not make this easy?):

1. git backup /path/to/repo /backup/location/

And restoration should be something like:

1. git backup --restore /backup/location/foo /path/to/repo

Am I missing something?

-- 
Heikki Orsila
heikki.orsila@xxxxxx
http://www.iki.fi/shd
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux