Displaying 1 result from an estimated 1 matches for "ssh_user_group".
2006 Oct 12
6
backup system files (and permissions) over ssh
...issions the same on the remote backup location ?
i tried using -a flag, but because i'm connecting through ssh i'm not using Rsync module on the remote computer and therefore i cant write files as root so -a flag is not working.
all the files are being written with owner SSH_USER and group SSH_USER_GROUP
i think the problem is here (from rsync man) : -o, --owner preserve owner (root only)
and SSH_USER is neither root nor rsync module that can run as root
my Rsync command is:
rsync -e "ssh -i key_path" -a flags excludes local_path ssh_user@server2:/full/path
is there a way to do what...