[Samba] Rsync with folder redirection from samba share

Marc Muehlfeld mmuehlfeld at samba.org
Tue Jun 10 14:12:06 MDT 2014


Hello James,

Am 05.06.2014 21:11, schrieb lp101:
>     I currently have users folders such as My Documents and Desktop
> redirected using a GPO. Could I use rsync with the same command used for
> sysvol replication to create a backup? For example "rsync -XAavz
> --delete-after" to another share? I would hope in the event of
> catastrophic loss I would have a backup copy for users. Is their a
> better way to do this? Thank you.

This should work.

If you use 'vfs objects = acl_xattr' on that share (or global) or if
it's a Samba AD DC, then your rsync must copy the extended ACLs and
attributes too. Check this with getfacl and getfattr.


Regards,
Marc


More information about the samba mailing list