how to backup/restore of windows file attributes

Tevfik Karagülle tevfik at itefix.no
Wed Dec 31 00:48:15 GMT 2008


You may be interested  in the cwRsync FAQ http://www.itefix.no/i2/node/11313
about using RoboCopy for transferring windows file attributes/permissions:

________
Can rsync transfer security/ownership information between two windows
machines ?

cwRsync alone has limited support since it runs on cygwin posix emulation
layer. However, after an rsync operation, you can use Robocopy XP010 from
Windows Server 2003 Resource Kit, to transfer all windows specific file
information (NTFS security, timestamps, attributes, ownership, auditing
info):


ROBOCOPY source destination /XO /XN /XC /E /COPY:ATSOU

 

options /XO (exclude older), /XN (exclude newer) and /XC (exclude changed)
assure that only existing files are targeted. Option /E is for recursive
directory operation including empty ones. Option /COPY:ATSOU instructs
Robocopy to copy only attributes (A), timestamps (T), NTFS security
information (S), Ownership O) and auditing (U).
__________

Tev

cwRsync maintainer
 

> -----Original Message-----
> From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> Behalf Of Matthias Meyer
> Sent: 30. desember 2008 22:40
> To: rsync at lists.samba.org
> Subject: how to backup/restore of windows file attributes
> 
> I use rsync for backing up windows.
> After a restore of Desktop.ini I recognize that the hidden 
> attribut and the system attribut will not been restored.
> 
> I know, this are no unix attributes. But is there a way to 
> backup and restore the windows attributes too?
> 
> Thanks
> Matthias
> --
> Don't Panic
> 
> --
> 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
> 



More information about the rsync mailing list