Rsync Deprecated

Eumaios

Cadet
Joined
Jun 8, 2023
Messages
4
Hello: I recently built me TrueNAS scale server, primarily to backup the other PCs on my LAN. After looking into backup options, I decided on Rsync. However, I just installed Rsyc to set up my backups, and I was alerted that it's been deprecated. What will replace Rsync, and what do people suggest until then? I'm willing to use Truecharts, fyi. Also, I am new to the homelab space, so more easily configurable apps would be preferable at this time. Thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
TrueNAS scale
Then you're posting in a very inappropriate forum; this area is for legacy releases of the FreeBSD-based FreeNAS, not for the Linux-based TrueNAS SCALE.
I just installed Rsyc
What you mean by "installed rsync"? Did you install an rsync app? If so, then the deprecation notice doesn't apply. From the release notes:
Determine if enabling an rsync server is necessary on the system. Rsync tasks that have Rsync Mode set to SSH or are externally configured with SSH don’t need the rsync service enabled. The rsyncd application is available when TrueNAS must be used to create insecure non-SSH rsync tasks.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700

Eumaios

Cadet
Joined
Jun 8, 2023
Messages
4
Then you're posting in a very inappropriate forum; this area is for legacy releases of the FreeBSD-based FreeNAS, not for the Linux-based TrueNAS SCALE.

What you mean by "installed rsync"? Did you install an rsync app? If so, then the deprecation notice doesn't apply. From the release notes:
I am guessing you are not a native English speaker: "very inappropriate" doesn't describe such a minor error, but thank you, I'm just learning. By "installed" I mean I installed the app, yes; what else could I mean? I am still quite ignorant, but eager to learn! So the deprecated alert means that only installs of rsync using the modules (vs. ssh) are deprecated? I'm new, so I appreciate your warm welcome and assistance!
 

samarium

Contributor
Joined
Apr 8, 2023
Messages
192
You don't need to install software to use rsync using ssh, rsync and ssh are installed already on the base systems, they are not "apps" that need to be installed.

Using the system menus:
You need to generate ssh keys, or import your own, and then install the appropriate public keys on the appropriate servers. If you aren't familar with ssh and keys then you should find a web resource and read a bit, and even experiment on a virtual machine or two.
You need to create a ssh connection.
You then create a replication task using the ssh connection.

You don't need to install an app.
 

karroi89

Cadet
Joined
Nov 29, 2023
Messages
1
Hello: I recently built me TrueNAS scale server, primarily to backup the other PCs on my LAN. After looking into backup options, I decided on Rsync. However, I just installed Rsyc to set up my backups, and I was alerted that it's been deprecated. What will replace Rsync, and what do people suggest until then? I'm willing to use Truecharts, fyi. Also, I am new to the homelab space, so more easily configurable apps would be preferable at this time. Thanks
You can take advantage of ZFS replication, which is a native feature of the ZFS filesystem. ZFS replication offers efficient and reliable data replication between ZFS datasets, making it ideal for backups within your TrueNAS SCALE environment.
 

PhilD13

Patron
Joined
Sep 18, 2020
Messages
203
If you are not specifically going from one Truenas server to another Truenas server (or one ZFS dataset to another ZFS dataset) then use Rsync as the replication task is oriented for use on just Truenas servers or maybe other servers using the ZFS filesystem.

You also don't need to install the Rsync app that is found in Apps it is not necessary.

Turn off the Rsync service under system tab and don't use it as that is the one that is going away in a later version of Scale.
To use Rsync, set up one or more Rsync tasks under the Data Protection tab. This will allow you to go to/from other systems using either Rsync with SSH (encrypted connection) or just Rsync unencrypted.

I use Rsync to go to a QNAP server on a nightly basis and it has worked fine after setup. There are plenty of articles and forum posts and documentation files with help on getting things working.
 

trikki69

Cadet
Joined
Feb 10, 2021
Messages
2
If you are not specifically going from one Truenas server to another Truenas server (or one ZFS dataset to another ZFS dataset) then use Rsync as the replication task is oriented for use on just Truenas servers or maybe other servers using the ZFS filesystem.

You also don't need to install the Rsync app that is found in Apps it is not necessary.

Turn off the Rsync service under system tab and don't use it as that is the one that is going away in a later version of Scale.
To use Rsync, set up one or more Rsync tasks under the Data Protection tab. This will allow you to go to/from other systems using either Rsync with SSH (encrypted connection) or just Rsync unencrypted.

I use Rsync to go to a QNAP server on a nightly basis and it has worked fine after setup. There are plenty of articles and forum posts and documentation files with help on getting things working.
Thanks for this info... I'm new to using rsync and truenas.

Can someone clarify a couple of points for me please?
  1. The rsync service under System >> Services is being deprecated/removed in a later version of Truenas?
  2. The rsync tasks under Data Protection is remaining and will continue to function in the future?
I always though point 1 (above) was a prerequisite for point 2 (above) i.e. rsysc tasks used the rsyc service within System >> Services although it appears not as I just disabled rsync in System >> Services and my rsync task is still running... everyday is a shcool day.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The rsync service under System >> Services is being deprecated/removed in a later version of Truenas?
The rsync service has been removed in the current version of TrueNAS SCALE. This was warned of in the last major release; I gave the link to that information up-thread.
The rsync tasks under Data Protection is remaining and will continue to function in the future?
Correct. Most rsync tasks do not require an rsync server on your NAS. Again, more information is at the link up-thread.

Edit: Well, more information was available at that link in June, when I posted it. Apparently iX have memory-holed that page.
 
Last edited:

PhilD13

Patron
Joined
Sep 18, 2020
Messages
203
I always though point 1 (above) was a prerequisite for point 2 (above) i.e. rsysc tasks used the rsyc service within System >> Services although it appears not as I just disabled rsync in System >> Services and my rsync task is still running... everyday is a shcool day.
I initially thought the same thing; the Rsync service under the system tab was needed, but it is not. For as simple as it is supposed to be, Rsync implementations in Truenas confuses me too as there initially were 3 different places and ways to configure System tab (depreciated), Data Protection tab (can ssh/push/pull data), As an installed App (creates modules) The last one appears to only allow other nas systems to push data, but I might be wrong.


The rsync tasks under Data Protection is remaining and will continue to function in the future?
It is my understanding it was to remain, but also heard different. I have not had time to verify one way or the other. I use the Data protection tab Rsync as it works fine for me after setup.
 
Top