Re: mtime of target directory

This is a discussion on Re: mtime of target directory within the Rsync forums, part of the Networking and Network Related category; On Fri, Sep 23, 2005 at 03:24:28AM +0200, Hauke Laging wrote: > rsync -av --exclude /USER/NoBackup --exclude '*....


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2005
Wayne Davison
 
Posts: n/a
Default Re: mtime of target directory

On Fri, Sep 23, 2005 at 03:24:28AM +0200, Hauke Laging wrote:
> rsync -av --exclude /USER/NoBackup --exclude '*.NTX'
> --compare-dest=/backup/novell/vollbackup /mnt/novellserver/SYS/ /backup/novell/ziel
>
> rsync -av --exclude /USER/NoBackup --exclude '*.NTX'
> --compare-dest=/backup/novell/vollbackup/PUBLIC /mnt/novellserver/SYS/PUBLIC/ /backup/novell/ziel


That's inconsistent in what gets copied. In the first case, the PUBLIC
subdir would get created in /backup/novell/ziel. In the second case,
the contents of the PUBLIC dir would get put into /backup/novell/ziel,
moving it up a level. Did you mean to leave off the trailing slash from
the PUBLIC in the source? Or did you forget the PUBLIC dir in the
destination?

> Only in the second case the mtime of the target directory is set to
> the one of /mnt/novellserver/SYS/PUBLIC/, the parent directory of the
> data to be handled.


Please clarify this. You say that /backup/novell/ziel is a symlink,
right? If both of those commands are run exactly as you stated, then
the directory that /backup/novell/ziel points to will be updated with
the time of the source directory in both cases -- more specifically,
the dot dir is being copied, so either /mnt/novellserver/SYS/. or
/mnt/novellserver/SYS/PUBLIC/. would be affecting /backup/novell/ziel/.
(which is presumably a directory in another part of the filesystem).

...wayne..
--
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 12:49 PM.


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