I'm trying to use rsync to back up remote files, but the UIDs/GIDs on the remote system are different from what I have locally. No matter what I try, all my local files are opux/opux both of which have *ID 1000. Here's my rsync:sync -e ssh --rsync-path=sudo rsync -AXSHavz --progress --numeric-ids pi@rpinfs:/mnt/mainhdd/dospace/ --exclude 'videos' ~/backups/dospace/I've tried --super and --fake-super but the first one just gives me Operation not permitted and the 2nd doesn't seem to do anything. How should I go about this?I know that one way to do backups while preserving all the metadata is to use tar, but as I understand it, it doesn't do remote backups very well. I want something that can be run simply and, ideally, not as root on my local system. The remote system is a Raspberry Pi running Raspbian, so the only login user there is root. My local system is Ubuntu 16.04 AMD64.
Rsync doesn't preserve UID/GID even w/-a and --numeric-ids
rsync;backup;file metadata