sync process setup questions

Blakefi

Cadet
Joined
Mar 20, 2023
Messages
1
Hello,
I have a rsync process setup on a soon to be retired Linux box that syncs every n hours over SSH using a private key as the authentication mechanism.
In Linux the command is:
rsync -rltvvz -e "ssh -i key.pvt" Nystral@remotehost:/path/to/remote/share /path/to/local/share
Basically I'm pulling the files over, stripping the permissions, and telling rsync to be very verbose (in the event I run a manual pull vs the cron. Later revisions of the command run a speed test and add a file lock, but that's beyond the scope of this initial command
Since it was already pulling to a FreeNAS box, I'm hoping to move the rsync task to the box itself.
So my questions are:
1) can I set up this equivalent in the GUI?
2) If no, what gotchas should I be looking out as I implement as a cron job via the CLI?
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
Hello,
1) have a look at pic below
2) As the gui is no more than a wrapper, and you are already an advanced rsync user I'd personally implement it using a script, have it spit logs somewhere, and call the script from the cron tasks in the GUI.

1679643107783.png


1679642985097.png
 
Top