SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Rsync "Whole file"
Author Message
Post Rsync "Whole file" 
Hi All

I'm running rsnapshot locally, on the same file system,

Would it make sense for me to configure rsnapshot to use rsync in "--whole-file" mode?

That raises a second question: If I was rsnapshotiing to a remote server, does rsnapshot utilise delta-differences for large files that have only changed a little bit between the two snapshots?


Cheers
Michael.

Post Rsync "Whole file" 
Hallo,

Am Mittwoch, 8. Juni 2011 06:03 schrieb Michael Lynch:

I'm running rsnapshot locally, on the same file system,

Would it make sense for me to configure rsnapshot to use rsync in
"--whole-file" mode?

man rsync

-W, --whole-file
With this option the incremental rsync algorithm is not
used and the whole file is sent as-is instead. The
transfer may be faster if this option is used when the
bandwidth between the source and destination machines is
higher than the bandwidth to disk (especially when the "disk"
is actually a networked filesystem). This is the
default when both the source and destination are specified as
local paths.

That raises a second question: If I was rsnapshotiing to a remote server,
does rsnapshot utilise delta-differences for large files that have only
changed a little bit between the two snapshots?

Imho rsync uses hash functions to compare the files and copies only a diff
for reducing net load, so all changed files will be build locally on the
remote server.
In the end you will have always two files. if the old one is kept.

Please correct, if I'm wrong.

--
Herzliche Grüße!
Rolf Muth

Meine Adressen duerfen nicht fuer Werbung verwendet werden! PGP Public Key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF8DC41935544C89A
Analoge Uhr (clock): http://www.heise.de/software/download/analoge_uhr/61872

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Rsync "Whole file" 
Thanks Rolf

I actual ask two questions.

1) Wouldn't whole-file, as per the description in the man page, perform much better locally?

and

2) Does rsnapshot even use the 'rsync algorithm'?

My point is: RSnapshot obviously requires a full copy of a file even if only a part of it has changed. So therefore, if the snapshot is within the same machine, it may be more eficient to turn off the rsync algorithm.

I hope that makes sense...

I am not interested in rSnapshot over-the-wire, but I presume that in such a case, it would take advantage of remote-differential-delta-comparison-copy, so that only changes to a modified file (as compared to the previous snapshot), are transfered over the wire

Cheers
Michael.

On Wed, Jun 8, 2011 at 5:29 PM, Rolf Muth <rolf.muth < at > web.de ([email]rolf.muth < at > web.de[/email])> wrote:
Hallo,

Am Mittwoch, 8. Juni 2011 06:03 schrieb Michael Lynch:

I'm running rsnapshot locally, on the same file system,

Would it make sense for me to configure rsnapshot to use rsync in
"--whole-file" mode?


man rsync

-W, --whole-file
       With  this  option  the  incremental  rsync algorithm is not
       used and the whole file is sent as-is instead.  The
       transfer may be faster if this option is used when the
       bandwidth between the source and destination machines  is
       higher  than the bandwidth to disk (especially when the "disk"
       is actually a networked filesystem).  This is the
       default when both the source and destination are specified as
       local paths.

That raises a second question: If I was rsnapshotiing to a remote server,
does rsnapshot utilise delta-differences for large files that have only
changed a little bit between the two snapshots?


Imho rsync uses hash functions to compare the files and copies only a diff
for reducing net load, so all changed files will be build locally on the
remote server.
In the end you will have always two files. if the old one is kept.

Please correct, if I'm wrong.

--
Herzliche Grüße!
Rolf Muth

Meine Adressen duerfen nicht fuer Werbung verwendet werden! PGP Public Key:
 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF8DC41935544C89A
Analoge Uhr (clock): http://www.heise.de/software/download/analoge_uhr/61872

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net ([email]rsnapshot-discuss < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss



Post Rsync "Whole file" 
2011/6/8 Michael Lynch <michaellynch511 < at > gmail.com>:
1) Wouldn't whole-file, as per the description in the man page, perform much
better locally?

Please read the documentation for rsync. rsync only does delta when
copying over the net.

Best
Martin

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB