rsync to synchronize data and permissions
I need usa rsync (or other tool) to synchronize data between nss volumes nightly in two servers in different cities.
I enabled extended attributes for both nss volumes and tested it I hace no problem to do rsync to copy data with permission in two volumes in the same server. But I´m testing now to synchronize data between two different servers and the result is... copy data ok, but it doesn't copy permissions.
This is my concrete command:
rsync -A -X -av /media/nss/CLIENTES/MPP-CLIENTES -e ssh firstname.lastname@example.org:/media/nss/BORRAME/
Synchronize data but not permissions
Has anyone tried rsync for this and can help me?
(I need use rsync or something similar, not migfiles, I need do it bidirectional, synchronize changes in two servers)
Tags for this Thread