Re: Patch to not modify files in place unless "--inplace" option

This is a discussion on Re: Patch to not modify files in place unless "--inplace" option within the Rsync forums, part of the Networking and Network Related category; On Wed, May 07, 2008 at 06:25:36PM -0700, Carl E. Thompson wrote: > This patch causes rsync to ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-08-2008
Wayne Davison
 
Posts: n/a
Default Re: Patch to not modify files in place unless "--inplace" option

On Wed, May 07, 2008 at 06:25:36PM -0700, Carl E. Thompson wrote:
> This patch causes rsync to honor the absence of the "--inplace" option
> for permission, owner and group changes.


Unfortunately, that's not what the --inplace option is for. Its purpose
is to control how data updates occur, not attribute updates. If I make
rsync break hard-links to make attribute updates, it will need to be a
new option, as is done in Matt's patch.

The problems you list with the --link-dest option only affect a client
that contacts the server to do a backup. If you instead have your
backup server contact the client machines, things are much safer. You
can still use an rsync daemon (one per client) for the transfers, if you
like.

There was a suggest to rsync allow a daemon to be configured with a
link-dest option in the config file. That also solves some of the
problems, but would also require that the daemon use a pre-transfer
script to move any old content out of the way for the current copy
(since it is intended that a --link-dest copy goes into an empty
hierarchy). e.g. it could manage a symlink for the current and prior
dir and have the daemon config file used the symlink names to get to
the right directories.

...wayne..
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:40 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0