From: Pavel Machek <pavel@ucw.cz>
To: Pozsar Balazs <pozsy@uhulinux.hu>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: git, hardlinks and backups
Date: Mon, 10 Jul 2006 22:07:28 +0200 [thread overview]
Message-ID: <20060710200728.GB2246@elf.ucw.cz> (raw)
In-Reply-To: <20060710200501.GB30678@ojjektum.uhulinux.hu>
Hi!
> > I know this may be stupid, but...
> >
> > I'm backing up my linux kernel trees, and found out that backup (done
> > by rsync) is twice as big as original. That's quite bad... it is
> > because git uses hardlinks heavily but rsync can't preserve them.
> >
> > I'm pretty sure someone hit this before... what is the trick?
>
> The -H option of rsync?
Okay, I was blind, sorry.
For those who made same mistake... utility called freedups should be
able to clean that up.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2006-07-10 20:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 19:57 Pavel Machek
2006-07-10 20:05 ` Adrian Bunk
[not found] ` <20060710200501.GB30678@ojjektum.uhulinux.hu>
2006-07-10 20:07 ` Pavel Machek [this message]
2006-07-10 20:07 ` Rutger Nijlunsing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060710200728.GB2246@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=pozsy@uhulinux.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®