[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync to NAS for backup



On Mon, Feb 15, 2021 at 12:39:29PM +0000, mick crane wrote:
> Appears that to retain permissions need root at both ends of rsync.

Not necessarily. If the server filesystem supports xattrs, you can use
the --fake-super option with the rsync server, running as a non-root user
that can write to the storage.

To set the option on the client side for rsync over ssh, use:

--rsync-path "rsync --fake-super"

Regards,
Mirko


Reply to: