


Rsync -az -e "ssh -p 23342" -backup -backup-dir="rsync_bak_`date '+%F_%H-%M'`" -exclude 'tmp*' -exclude 'cache*' -exclude 'logs' /var/www will : fire rsync with something like this : rsync -az /var/www is an example of a more complex rsync command :.choose (create if necessary) the shared folder you want to push to, for example Backups.make sure the rsync service is enabled in Control panel > File Services > rsync > Enable rsync service (do not check Enable rsync account).In order to push data via rsync on the NAS, here are the steps to follow : Note : if this still does not work, take a look at the answers in the comments below for troubleshooting ideas. if you only want to use rsync with this user (not SSH) you can now remove the backup user from the administrators group.
#Synology hidrive invalid password password
#Synology hidrive invalid password windows
log into the NAS via SSH : ssh in a Linux terminal or use Putty on Windows.set up a user account if you don’t already have one (mine will be called foaly) and temporarily add it to the administrators group using Control panel > User > foaly > Edit > User groups).make sure the SSH service is enabled in Control panel > Terminal & SNMP > Enable SSH service.Public key authentification is disabled by default, you will need to enable it : However, even non- administrators can use the rsync service. Only members of the administrators group are allowed to connect by SSH.By default, root is not allowed to connect, you need to connect with another user and use sudo su (type the password of the user you are connected with, not the root password).One thing I have struggled with, though, has been setting up public key authentification in order to allow automated scripts to push backups to the NAS via rsync. The DSM web interface is both powerful and easy to use and is constantly improving.
