Gionatan Danti
2016-Mar-16 15:30 UTC
Deleted symlinks when receiveing files with the same name
Hi list, I would like to know if the following rsync's behavior can be changed/modified. I noticed that when rsync receive a file for which the local filesystem already has a symlinks with the same path/name, it _first_ delete the symlink, _then_ it start the transfer. I think there are two problems with this approach: - it completely ignores the content of the symlinked files, which can be used to speedup the transfer; - if the transfer goes interruped/stopped, the receiving side remains without the symlink and without the to-be-received file. In other words, a file "seems" lost. I did some test with the verious delete-after (and similar) options, but they do not change anything. I am missing something? Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8
Gionatan Danti
2016-Mar-21 09:59 UTC
Deleted symlinks when receiveing files with the same name
Hi all, anyone with some ideas? I am missing something? Thanks. On 16/03/2016 16:30, Gionatan Danti wrote:> Hi list, > I would like to know if the following rsync's behavior can be > changed/modified. > > I noticed that when rsync receive a file for which the local filesystem > already has a symlinks with the same path/name, it _first_ delete the > symlink, _then_ it start the transfer. > > I think there are two problems with this approach: > - it completely ignores the content of the symlinked files, which can be > used to speedup the transfer; > - if the transfer goes interruped/stopped, the receiving side remains > without the symlink and without the to-be-received file. In other words, > a file "seems" lost. > > I did some test with the verious delete-after (and similar) options, but > they do not change anything. > > I am missing something? > Thanks. >-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8
Gionatan Danti
2016-Apr-08 13:24 UTC
Deleted symlinks when receiveing files with the same name
Hi list, some advices on that? Regards. On 16/03/2016 16:30, Gionatan Danti wrote:> Hi list, > I would like to know if the following rsync's behavior can be > changed/modified. > > I noticed that when rsync receive a file for which the local filesystem > already has a symlinks with the same path/name, it _first_ delete the > symlink, _then_ it start the transfer. > > I think there are two problems with this approach: > - it completely ignores the content of the symlinked files, which can be > used to speedup the transfer; > - if the transfer goes interruped/stopped, the receiving side remains > without the symlink and without the to-be-received file. In other words, > a file "seems" lost. > > I did some test with the verious delete-after (and similar) options, but > they do not change anything. > > I am missing something? > Thanks. >-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8