git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* backups with git
@ 2009-08-10  8:27 Roald de Vries
  2009-08-10 10:51 ` John Tapsell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Roald de Vries @ 2009-08-10  8:27 UTC (permalink / raw)
  To: git

Dear all,

I'm thinking of using git as a backup solution for my whole system,  
setting my $GIT_DIR to something like "/backupdisc/backup". Does that  
seem sensible? In his Google tech talk, Linus said that git was not  
good at huge projects; I guess that would apply to backups. On the  
other hand, maybe a backup doesn't need to be as fast as he wants git  
to be for projects. Has anybody used git like this? And was it a good  
experience?

Kind regards,

Roald

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backups with git
  2009-08-10  8:27 backups with git Roald de Vries
@ 2009-08-10 10:51 ` John Tapsell
  2009-08-10 13:20 ` Martin Langhoff
  2009-08-10 13:38 ` Sitaram Chamarty
  2 siblings, 0 replies; 4+ messages in thread
From: John Tapsell @ 2009-08-10 10:51 UTC (permalink / raw)
  To: Roald de Vries; +Cc: git

2009/8/10 Roald de Vries <rdv@roalddevries.nl>:
> Dear all,
>
> I'm thinking of using git as a backup solution for my whole system, setting
> my $GIT_DIR to something like "/backupdisc/backup". Does that seem sensible?
> In his Google tech talk, Linus said that git was not good at huge projects;
> I guess that would apply to backups. On the other hand, maybe a backup
> doesn't need to be as fast as he wants git to be for projects. Has anybody
> used git like this? And was it a good experience?

Perhaps you want something more like btrfs.

John

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backups with git
  2009-08-10  8:27 backups with git Roald de Vries
  2009-08-10 10:51 ` John Tapsell
@ 2009-08-10 13:20 ` Martin Langhoff
  2009-08-10 13:38 ` Sitaram Chamarty
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Langhoff @ 2009-08-10 13:20 UTC (permalink / raw)
  To: Roald de Vries; +Cc: git

On Mon, Aug 10, 2009 at 4:27 AM, Roald de Vries<rdv@roalddevries.nl> wrote:
> I'm thinking of using git as a backup solution for my whole system, setting

There are lots of little problems. The two main ones are, IMHO

 - permissions & ownership
 - large files

Some ppl use it for their homedir, and it can be a moderate success as
long as they don't deal with large files.

cheers,


m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backups with git
  2009-08-10  8:27 backups with git Roald de Vries
  2009-08-10 10:51 ` John Tapsell
  2009-08-10 13:20 ` Martin Langhoff
@ 2009-08-10 13:38 ` Sitaram Chamarty
  2 siblings, 0 replies; 4+ messages in thread
From: Sitaram Chamarty @ 2009-08-10 13:38 UTC (permalink / raw)
  To: Roald de Vries; +Cc: git

On Mon, Aug 10, 2009 at 1:57 PM, Roald de Vries<rdv@roalddevries.nl> wrote:

> I'm thinking of using git as a backup solution for my whole system, setting
> my $GIT_DIR to something like "/backupdisc/backup". Does that seem sensible?

The two questions you have to ask yourself are: will I ever branch and
merge in this "repo", and do I really want versions from weeks and
months ago?

A "no" to the first question means you're essentially using a very
powerful VCS as a mere backup system.  I suggest rdiff-backup or (if
it's mature enough now, not sure) duplicity..

A "no" to the second question means you're needlessly keeping lots of
old data, and have to jump through hoops to get rid of it if you need
to.

There's a limit to how much you can Macgyver git into doing what it is
not intended for :-)

Having said all that, I do use git to manage parts of my $HOME that do
satisfy those constraints (config files, ~/bin, etc) -- I do sometimes
branch and merge, and I do want really old versions.  I do this by
putting all of them in a repo, and symlinking them to $HOME.

Regards,

Sitaram

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-10 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10  8:27 backups with git Roald de Vries
2009-08-10 10:51 ` John Tapsell
2009-08-10 13:20 ` Martin Langhoff
2009-08-10 13:38 ` Sitaram Chamarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).