Using rsync to back up Samba shares.

Jeremy Allison jra at samba.org
Tue Mar 5 14:29:05 MST 2013


So after the recent reports I did some digging in
the rsync code, and at least on Linux rsync should
have no problems fully backing up the extended
attributes that Samba users on filesystems.

The two Samba-specific ones are:

security.NTACL - which stores the NT ACLs on a file/directory
user.DOSATTRIB - which stores the DOS attributes and extra timestamp.

Using rsync with -a -A -X should copy all
these attributes and their underlying POSIX ACLs.

Jeremy.


More information about the samba-technical mailing list