Rsync Help

Status
Not open for further replies.

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
Hi,

I'm moving to FreeNAS. I have a main Ubuntu Server running that does cron jobs using rsync. I'm trying to figure out how to set it up in FreeNAS so it does the jobs. It pulls a folder from another server to my old NFS drive.

Here is the cron job I have running
Code:
0 1 * * * rsync -avz --delete 192.168.1.20:/mysqlbackups /Backup/WebServer

How do I set this up in FreeNAS. I've tried setting up a rysnc task it didn't work so I tried a cron job and it didn't work. I've searched youtube thinking someone would of made a video, but no luck. The FreeNAS manual makes no sense.

Thanks,
Rick
 
Last edited by a moderator:
D

dlavigne

Guest
Were you able to figure this out? If not, which settings have you tried and what error did you get?
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
I've tried setting up a rysnc task it didn't work so I tried a cron job and it didn't work.
Please be more specific. Did it not start, not run correctly, not complete? Were there error messages, and if so, what were they?

One basic error is that commands in cron files require full paths. So:
Code:
0 1 * * * /usr/local/bin/rsync -avz --delete 192.168.1.20:/mysqlbackups /Backup/WebServer
 
Status
Not open for further replies.
Top