Hello, 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. -- -James
Marc Muehlfeld
2014-Jun-10 20:12 UTC
[Samba] Rsync with folder redirection from samba share
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