cygwin rsync windows to windows ACL problem

Stephen Zemlicka stevezemlicka at gmail.com
Mon Oct 1 15:55:56 GMT 2007


Robocopy does copy only the new or changed files.  However it does copy the
whole files (similar to the -W switch in rsync).  I use robocopy whenever I
already have a secure connection (VPN) or when my backups don't include
large (multi GB) database files.  To see if robocopy will work by itself for
you, add the -W switch and see if that's acceptable.  It'll take a bit
longer for changed files but will be just as fast for new files.

_____________________________
Stephen Zemlicka
Integrated Computer Technologies
PH. 608-558-5926
E-Mail stevezemlicka at gmail.com 
-----Original Message-----
From: rsync-bounces+stevezemlicka=gmail.com at lists.samba.org
[mailto:rsync-bounces+stevezemlicka=gmail.com at lists.samba.org] On Behalf Of
havoc
Sent: Monday, October 01, 2007 10:50 AM
To: rsync at lists.samba.org
Subject: Re: cygwin rsync windows to windows ACL problem

Does robocopy handle partial transfers, and backups of changed deleted
files?
My reason for wanting rsync is to maintain a mirror, and accomplish 
incremental backups via --backup --backup-dir=<blah> with rsync.

On Monday 01 October 2007, Stephen Zemlicka wrote:
> I have also noticed that permissions aren't always copied under windows.
> I've heard you can use robocopy to do it.  I have not because it hasn't
> been critical to my operation but supposedly, you can use something like
>
> ROBOCOPY source destination /XO /XN /XC /E /COPY:ATSOU
>
> After the backup script.  This should not copy any files and just copy the
> file permissions and attributes.  Let me know if that helps.
>
> BTW, robocopy is part of the windows 2003 resource kit.
>
> _____________________________
> Stephen Zemlicka
> Integrated Computer Technologies
> PH. 608-558-5926
> E-Mail stevezemlicka at gmail.com
> -----Original Message-----
> From: rsync-bounces+stevezemlicka=gmail.com at lists.samba.org
> [mailto:rsync-bounces+stevezemlicka=gmail.com at lists.samba.org] On Behalf
Of
> havoc
> Sent: Monday, October 01, 2007 9:59 AM
> To: rsync at lists.samba.org
> Subject: cygwin rsync windows to windows ACL problem
>
> I am having problems using rsync on cygwin to properly copy the
> ownership of files from windows to windows.
> I am running: rsync -avPA //src_addr/some/path /local/dst/path/
>
> Based on:
> http://www.mail-archive.com/rsync@lists.samba.org/msg18920.html
> and:
>
http://www.nabble.com/Re:-I-need-rsync-+-acl-support-for-windows--t2462647.
>h tml
>
> ENV: CYGWIN=ntsec tty
> I am running this on Windows Server 2003 R2 SP2 (a DC), the SRC is
> a Windows XP SP2 domain member.
> I have tried patching the cygwin rsync source to enable ACL support,
> and had this confirmed by rsync --version
> This didn't work so I got rsync-acl-2.6.9.tar.bz2 from:
> http://mattmccutchen.net/myrsync/
> and configured with --enable-acl-support
> This still does not work.  Is what I am trying to do not possible,
> or am I just doing something wrong?
>
> Thanks for any input.
>
> --
>
>    - havoc



-- 

   - havoc

-- 
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html



More information about the rsync mailing list