Copy directorys from old RS409 (SMB1) to Truenas Scale

Hello Truenas fans, I have an ancient Synology NAS RS409 that works with smb1. I would now like to perform a data migration to the new Truenas Scale. This is not possible with Cifs because the RS409 does not allow the remote folder. The remote folder from the RS409 to a newer Synology NAS works fine, but I want to switch to the TrueNAS.
How can I create a remote folder from Truenas Scale to the RS409 with Cifs SMB?

Another solution would be with SSH, I have enabled this on the RS409. In the Truenas terminal I can connect the RS409 (ssh admin@192.168.xxx.xx -p22) and with the login and password.
But what is the command to copy the remote (RS409) data (directory) to the local Truenas?
I have tried various command parameters without success cp -a /mnt/volume1/Images/BKEB840G3 /mnt/PoolSata

Maybe someone has more experience with the possibilities.
Many thanks for your help!

Greetings
Novell1

From your TrueNAS terminal session:
scp -r -v synology_username@IP_of_Synology:/mnt/volume1/images/BKEB840G3 /mnt/PoolSata

-r is for recursive
-v is for verbose output to monitor progress

1 Like

scp or rsync works. I like rsync as it is restartable.

sudo  rsync -av --update -A --no-perms -e ssh <synologyuser>@ipaddressofsynology:/<volumename-on-syno> /mnt/<poolname>/<target dataset>  --progress
1 Like

Hi artstar, many thanks, I will try!
Have a good time!!!

Hi Theo, many thanks, I will try!
Have a good time to!!!

Hi Theo, I have tried the command in x different ways. With Winscp I can log on to the Synology and see the files, this also on the Truenas.
Do you have any ideas? I don’t want to place a PC in the middle for copying.
Here are the print screens from TN and PC to Synology


Thank you very much!