2nd day with TrueNAS SCALE (24.04.2.2) here, so please don’t assume I know anything
I am attempting to use my new NAS as a data archiving target. To get data from my other fileservers on it, I am wanting to use rsync. I have experience setting up rsyncd with modules on other Linux systems, but TrueNAS is a whole different ballgame. I have installed the “rsyncd” app on my TrueNAS, and configured a module to accept reads/writes to a particular dataset path. I think I have that right. Anyways, I can get a module listing from another machine on my LAN by doing this:
~$ rsync -rdt rsync://nj-archiving:30026
mlarchive ML group archive target
But, going to use it, it fails in every way I’ve attempted. Latest method gives me this:
~$ rsync -e ssh -zvh stuff.tgz admin@nj-archiving::mlarchive
admin@nj-archiving's password:
rsync error: syntax or usage error (code 1) at clientserver.c(1296) [Receiver=3.2.7]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
I looked in syslog, and I’m seeing this:
Sep 26 16:40:34 nj-archiving sshd[775246]: Accepted password for admin from 138.15.169.11 port 51592 ssh2
Sep 26 16:40:34 nj-archiving systemd-logind[3672]: New session 40 of user admin.
Sep 26 16:40:34 nj-archiving systemd[1]: Started session-40.scope - Session 40 of User admin.
Sep 26 16:40:34 nj-archiving sshd[775246]: pam_unix(sshd:session): session opened for user admin(uid=950) by (uid=0)
Sep 26 16:40:34 nj-archiving rsyncd[775271]: rsync: [Receiver] unable to open config file "rsyncd.conf": No such file or directory (2)
Sep 26 16:40:34 nj-archiving rsyncd[775271]: rsync error: syntax or usage error (code 1) at clientserver.c(1296) [Receiver=3.2.7]
I would think the app config would write the requisite rsyncd.conf
file??
What am I doing wrong here?