Discussion:
[rsnapshot-discuss] To link-dest or not
Gandalf Corvotempesta
2016-06-09 08:29:08 UTC
Permalink
What do you suggest, using link-dest with rsync or the plain old "cp -al"?

I'm seeing "cp -al" taking hours (with high load on backup server) for
some hosts.
The same with rsync link-dest doesn't happens but obviously the rsync
phase is longer.
c***@ccs.covici.com
2016-06-09 09:56:34 UTC
Permalink
I would never do without syndest and syncfirst, unless you have a very
broke rsync that won't do hardlinks.
Post by Gandalf Corvotempesta
What do you suggest, using link-dest with rsync or the plain old "cp -al"?
I'm seeing "cp -al" taking hours (with high load on backup server) for
some hosts.
The same with rsync link-dest doesn't happens but obviously the rsync
phase is longer.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
rsnapshot-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
***@ccs.covici.com
Gandalf Corvotempesta
2016-06-09 10:55:06 UTC
Permalink
Post by c***@ccs.covici.com
I would never do without syndest and syncfirst, unless you have a very
broke rsync that won't do hardlinks.
So are you suggesting to use the "link-dest" and skip the "cp -al" ?
c***@ccs.covici.com
2016-06-09 11:50:41 UTC
Permalink
Post by Gandalf Corvotempesta
Post by c***@ccs.covici.com
I would never do without syndest and syncfirst, unless you have a very
broke rsync that won't do hardlinks.
So are you suggesting to use the "link-dest" and skip the "cp -al" ?
Absolutely.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
***@ccs.covici.com
Gandalf Corvotempesta
2016-06-09 12:35:46 UTC
Permalink
Post by c***@ccs.covici.com
Absolutely.
Can you explain me why ? There are different opinions about this
c***@ccs.covici.com
2016-06-09 13:22:23 UTC
Permalink
Post by Gandalf Corvotempesta
Post by c***@ccs.covici.com
Absolutely.
Can you explain me why ? There are different opinions about this
I think its probably much faster to use rsync, and it has worked well
for me -- I think I only tried the cp -l briefly.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
***@ccs.covici.com
Gandalf Corvotempesta
2016-06-11 23:17:14 UTC
Permalink
Post by c***@ccs.covici.com
I think its probably much faster to use rsync, and it has worked well
for me -- I think I only tried the cp -l briefly.
Could you please share the rsnapshot log ? i would like to double check
the exact steps that rsnapshot does with link-dest, mine seems a bit strange.
Phill Edwards
2016-06-09 12:44:46 UTC
Permalink
Post by c***@ccs.covici.com
Post by Gandalf Corvotempesta
Post by c***@ccs.covici.com
I would never do without syndest and syncfirst, unless you have a very
broke rsync that won't do hardlinks.
So are you suggesting to use the "link-dest" and skip the "cp -al" ?
Absolutely.
I'm not really sure exactly what's being suggested here. Are you
recommending to set link_dest to 1 and sync_first to 1 in rsnapshot.conf?
c***@ccs.covici.com
2016-06-09 13:23:25 UTC
Permalink
Post by Phill Edwards
Post by c***@ccs.covici.com
Post by Gandalf Corvotempesta
Post by c***@ccs.covici.com
I would never do without syndest and syncfirst, unless you have a very
broke rsync that won't do hardlinks.
So are you suggesting to use the "link-dest" and skip the "cp -al" ?
Absolutely.
I'm not really sure exactly what's being suggested here. Are you
recommending to set link_dest to 1 and sync_first to 1 in rsnapshot.conf?
Yes, that is what I suggest.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
***@ccs.covici.com
Continue reading on narkive:
Loading...