Gentoo Archives: gentoo-user

From: Alejandro <elcorreodeale@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsync + tar + bz2 ?
Date: Sun, 08 Mar 2009 18:51:47
Message-Id: 60a795cd0903081151s4debc1fah213beb8a9f1f127e@mail.gmail.com
In Reply to: Re: [gentoo-user] rsync + tar + bz2 ? by Dirk Heinrichs
1 2009/3/7 Dirk Heinrichs <dirk.heinrichs@××××××.de>
2
3 > Am Samstag, 7. März 2009 21:13:49 schrieb Dirk Heinrichs:
4 > > Am Samstag, 7. März 2009 17:04:17 schrieb Grant:
5 > > > I'm backing up numerous large files on another machine on my local
6 > > > network. I've only been using rsync, but it occured to me that I
7 > > > might be able to save some time and space if I incorporate tar and
8 > > > bzip2. How will rsync interact with those? If I turn the whole
9 > > > backup into a big tar.bz2, would rsync need to redownload the whole
10 > > > thing if I change one file? If so, maybe I should turn different
11 > > > groups of files into tar.bz2 archives so rsync only needs to
12 > > > redownload an archive if one of its files has changed?
13 > >
14 > > By using either rsh or ssh, tar can backup over the net, too.
15 >
16 > OTOH, I think rsync is still the better solution, because even for large
17 > files,
18 > it only sends the deltas. But in the end, you will be doing some time
19 > measurements to find the best solution, anyway ;-)
20 >
21 > Bye...
22 >
23 > Dirk
24 >
25
26 rsync -z
27
28 -z, --compress compress file data during the transfer
29 --compress-level=NUM explicitly set compression level
30 --skip-compress=LIST skip compressing files with suffix in
31 LIST