
ROBOCOPY is kinda similar (ish) to RSYNC in that you can get it to only copy files that have changed. Use ROBOCOPY to pull the files from FreeNAS to Windows.To accomplish this, I would like to run sudo rsync as the backup user and setup NOPASSWD: /usr/bin/rsync Currently I am able to run ssh backupremote sudo rsync And this works without a problem.
#ARRSYNC RUN AS ROOT INSTALL#


Could you give more details about the target server ? You talk about "administrator and domain admins in my AD environment", this is Windows Active Directory, yes ?Īs I understand it there are two methods for setting up RSYNC from *NIX to Windows. 57 I tried to set up a root cron job to run a Bash script as root, to run at minute 7,37, every hour, every day of month, every month. 407 2 2 gold badges 5 5 silver badges 16 16 bronze badges. for Vim: sudo EDITORvim crontab -e, or for Nano: sudo EDITORnano crontab -e. In case you want to use a particular editor to edit the root crontab, run it like this: sudo EDITOReditor crontab -e, e.g.

You got a mixture of technologies going on there. How do I run the latest version of rsync as root when accessing my phone from a remote host ssh rsync Share. Don't add sudo before command or script, because it runs as root anyway, since it's added to the root crontab.
