Synology to Truenas via hyper backup / rsync problem?

crashburn162

Cadet
Joined
Jan 11, 2023
Messages
3
So I have it working but I can't get it to work with "transfer encryption" . Do I have to export the certificate I am using on the synology and copy it over to the Truenas? When I try to export the certificate I get only 2 files cert.pem and privkey.pem . Is this enough to import the certificate to truenas and will the rsync work then ?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
If I understand RSync correctly, their are 3 transfer methods:
  • Over SSH, which would use SSH encryption:
    rsync -aHSxv USER@SERVER:/SRC_PATH/ /DEST_PATH/
  • Over un-encrypted RSync daemon:
    rsync -aHSxv rsync://SERVER/RSYNC_MODULE/ /DEST_PATH/
  • VIa file sharing, (works locally too):
    rsync -aHSxv /SRC_PATH/ /DEST_PATH/
Of course, the first 2 can reverse the paths if needed.

Their is an option for the RSync daemon to;
You can also make use of SSL/TLS encryption if you put rsync behind an SSL proxy.

Is that what you are trying to do?
 
Last edited:

crashburn162

Cadet
Joined
Jan 11, 2023
Messages
3
Well I am copying the Synology NAS with Hyperbackup via Rsync to a TrueNAS Core server which is in another location. In the hyper backup there is an option "Transfer encryption" which when selected the synology no longer sees the truenas server. What I've found about hyperbackup is this "
  • Transfer encryption is supported only when the destination server supports encrypted network backup and the authentication password is not empty."
Which doesn't really help me much here is a link to the whole Article .If I was trying to copy to another synology it would prompt the other synology to trust the certificate and it will go. As far as certificates the Rsync in the synology uses an SSL/TLS certificate that I've created for backup purposes that won't expire every 6 months. Also the way I am connecting to the Truenas is via DDNS, but I don't think it matters much.
 

crashburn162

Cadet
Joined
Jan 11, 2023
Messages
3
Ok I found the problem. So when you select the "transfer encryption" it goes to SSH that's why the port is 22 so you need that open and also more importantly you have to use the full unix mount path to find the directory. Tested it and it works. I used these guide to help me GUIDE .
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Glad you found what you needed.
 
Top