When I run the following command owner:group are taken over correctly:
rsync -chavzP --delete SOURCE-SERVER DESTINATION-SAME-SERVER
However, when I run the same command to sync from the server to my local PC, the owner:group are not taken over:
rsync -chavzP --delete SOURCE-SERVER DESTINATION-MY-PC
I assume this is because on my PC these owner:group do not exist and instead they are replaced with root:root.
How can I still keep the owner:group from the server on my local PC so that in case of a restore the owner:group are set correctly.
Thanks in advance.