I want a live mirror copy, not snapshots ZFS replication. This is how I am setting up my Rsync Tasks via Web UI in TrueNAS SCALE. It works for me exactly as I want it to.

So I have 2 TrueNAS Server that I named Akari and Minami. (Yeah, that kind of naming convention)
Akari server is “live and hot” data, and also all the apps running since it’s running on much better CPU and motherboard.
Akari runs on Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz.
While Minami runs on Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz.
Not very much different but enough to see whether the apps runs smoothly or slow.
The Context – Rsync Not ZFS Replications
I know ZFS replication is better, many people said so.
But I want a mirror that can be use straight away in case of server down or that pool totally degraded, and I also want the cloud sync done on Minami, not the busy Akari server.
My Settings
I have too many interest and hobby, this post serve as my own knowledge library. These are how my settings, according to my needs.

The trailing slash ( / ) is important here to get the data copied as how it is on the source dataset (Akari NAS V2).
Since this the rsync tasks done from Minami NAS V1 and using pull, instead of push, the source is the destination here.
If we put a trailing slash after the dataset name like pangeranwiguan/ it will create a folder of pangeranwiguan inside it. We don’t want that so we omit the trailing slash.
I also add the auxilary parameters that I think useful.
But this parameter is a must.
--exclude=.zfs/
because we don’t want to copy the snapshots of that dataset.
We want the live data.
Monitoring The Rsync Tasks
Since I already put;
--progress
and also;
-v
I can now monitor the progress either via the Web UI => System = Shell or Terminal or Command Prompt or Windows PowerShell. But I’m using Terminal.
I ssh to Minami and use this command to view the progress because the Web UI doesn’t show any progress of the Rsync Task.
It was meant to be set and forget after all.
Find The Job Task ID

From the Jobs page we can find the Job Task ID.
But to make things easier, just copy the log Path there.
sudo tail -f /var/log/jobs/1355.log

We now can view the progress of the Rsync in terminal.
We can also view the progress via the Web UI in System => Shell

Other Useful Commands
I also make a post about how to do rsync server to server or within the server in previous post.
TrueNAS SCALE Useful Command (For Me)
In that post also I share how to stop the jobs that seems hang forever.
0 Comments