From: Rutger Nijlunsing <rutger@nospam.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>, pasky@suse.cz
Subject: Re: git, hardlinks and backups
Date: Mon, 10 Jul 2006 22:07:58 +0200 [thread overview]
Message-ID: <20060710200758.GA5346@nospam.com> (raw)
In-Reply-To: <20060710195727.GA2246@elf.ucw.cz>
On Mon, Jul 10, 2006 at 09:57:27PM +0200, Pavel Machek wrote:
> 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?
> Pavel
Why can't rsync preserve them? Doesn't 'rsync --hard-links' work?
(however, it can only work if you rsync all paths at once so rsync
gets to see that the inodes match)
--
Rutger Nijlunsing ---------------------------------- eludias ed dse.nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------
prev parent reply other threads:[~2006-07-10 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 19:57 git, hardlinks and backups Pavel Machek
2006-07-10 20:05 ` Adrian Bunk
[not found] ` <20060710200501.GB30678@ojjektum.uhulinux.hu>
2006-07-10 20:07 ` Pavel Machek
2006-07-10 20:07 ` Rutger Nijlunsing [this message]
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=20060710200758.GA5346@nospam.com \
--to=rutger@nospam.com \
--cc=linux-kernel@tux.tmfweb.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=pasky@suse.cz \
--cc=pavel@ucw.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.