* [gentoo-user] moving rsnapshots
@ 2012-07-24 22:12 Stefan G. Weichinger
2012-07-24 22:52 ` Neil Bothwick
2012-07-24 23:03 ` covici
0 siblings, 2 replies; 6+ messages in thread
From: Stefan G. Weichinger @ 2012-07-24 22:12 UTC (permalink / raw
To: gentoo-user
a bit OT as it is not gentoo-specific:
how to move the data stored by rsnapshot from A to B ?
I run an "rsync -a" and see that the target already uses up more space
than the source. So all this linking seems not to be synced in the
correct way, to save space.
Thanks for any insight on this ... Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] moving rsnapshots
2012-07-24 22:12 [gentoo-user] moving rsnapshots Stefan G. Weichinger
@ 2012-07-24 22:52 ` Neil Bothwick
2012-07-24 23:03 ` covici
1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2012-07-24 22:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
On Wed, 25 Jul 2012 00:12:31 +0200, Stefan G. Weichinger wrote:
> I run an "rsync -a" and see that the target already uses up more space
> than the source. So all this linking seems not to be synced in the
> correct way, to save space.
Does rsnapshot use hard links? If so, you need to use -H with rsync.
--
Neil Bothwick
WWW: World Wide Wait
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] moving rsnapshots
2012-07-24 22:12 [gentoo-user] moving rsnapshots Stefan G. Weichinger
2012-07-24 22:52 ` Neil Bothwick
@ 2012-07-24 23:03 ` covici
2012-07-25 7:52 ` Stefan G. Weichinger
1 sibling, 1 reply; 6+ messages in thread
From: covici @ 2012-07-24 23:03 UTC (permalink / raw
To: gentoo-user
Stefan G. Weichinger <lists@xunil.at> wrote:
>
> a bit OT as it is not gentoo-specific:
>
> how to move the data stored by rsnapshot from A to B ?
>
> I run an "rsync -a" and see that the target already uses up more space
> than the source. So all this linking seems not to be synced in the
> correct way, to save space.
Do you have the H option in your rsync -- I am pretty sure that options
says keep hard links.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] moving rsnapshots
2012-07-24 23:03 ` covici
@ 2012-07-25 7:52 ` Stefan G. Weichinger
2012-07-26 20:38 ` Stefan G. Weichinger
0 siblings, 1 reply; 6+ messages in thread
From: Stefan G. Weichinger @ 2012-07-25 7:52 UTC (permalink / raw
To: gentoo-user
Am 25.07.2012 01:03, schrieb covici@ccs.covici.com:
> Stefan G. Weichinger <lists@xunil.at> wrote:
>
>>
>> a bit OT as it is not gentoo-specific:
>>
>> how to move the data stored by rsnapshot from A to B ?
>>
>> I run an "rsync -a" and see that the target already uses up more space
>> than the source. So all this linking seems not to be synced in the
>> correct way, to save space.
> Do you have the H option in your rsync -- I am pretty sure that options
> says keep hard links.
Thanks to both of you, we try "rsync -aH" now.
It would be worth testing if it also works to "replace copied files by
hard links" with "-H" but I will have to do it elsewhere ... this is
production data ... on a box with ancient version of LVM2 ...
Thanks, Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] moving rsnapshots
2012-07-25 7:52 ` Stefan G. Weichinger
@ 2012-07-26 20:38 ` Stefan G. Weichinger
2012-07-27 16:23 ` Stefan G. Weichinger
0 siblings, 1 reply; 6+ messages in thread
From: Stefan G. Weichinger @ 2012-07-26 20:38 UTC (permalink / raw
To: gentoo-user
Am 25.07.2012 09:52, schrieb Stefan G. Weichinger:
> It would be worth testing if it also works to "replace copied files by
> hard links" with "-H" but I will have to do it elsewhere ... this is
> production data ... on a box with ancient version of LVM2 ...
"-H" takes ages ... while it is correct.
Found the script rsnapshot-copy (not part of the gentoo-rsnapshot-build,
but part of rsnapshot in other distros) which splits the one huge job
into smaller steps.
Still waiting for that copy, though ;-)
S
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] moving rsnapshots
2012-07-26 20:38 ` Stefan G. Weichinger
@ 2012-07-27 16:23 ` Stefan G. Weichinger
0 siblings, 0 replies; 6+ messages in thread
From: Stefan G. Weichinger @ 2012-07-27 16:23 UTC (permalink / raw
To: gentoo-user
Am 2012-07-26 22:38, schrieb Stefan G. Weichinger:
> Am 25.07.2012 09:52, schrieb Stefan G. Weichinger:
>
>> It would be worth testing if it also works to "replace copied files by
>> hard links" with "-H" but I will have to do it elsewhere ... this is
>> production data ... on a box with ancient version of LVM2 ...
>
> "-H" takes ages ... while it is correct.
>
> Found the script rsnapshot-copy (not part of the gentoo-rsnapshot-build,
> but part of rsnapshot in other distros) which splits the one huge job
> into smaller steps.
>
> Still waiting for that copy, though ;-)
~36 hrs for ~600GB net data ... hundreds of thousands of links.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-27 16:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-24 22:12 [gentoo-user] moving rsnapshots Stefan G. Weichinger
2012-07-24 22:52 ` Neil Bothwick
2012-07-24 23:03 ` covici
2012-07-25 7:52 ` Stefan G. Weichinger
2012-07-26 20:38 ` Stefan G. Weichinger
2012-07-27 16:23 ` Stefan G. Weichinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox