I’m running TrueNAS Community Edition v.25.04.2.4 in a zraid cfg. The motherboard its setup on is a AMD 8845HS 8-core NAS Motherboard with Dual 10G Ethernet Ports. (Motherboard +2*SFF8643+JONSBO FAN) How could I copy data, files ranging in size from 1gb to 5gb and there being about 1500 of them to an external HDD with a USB 2.0 interface.
My LAN is 2.5GbE at its slowest point.
Whats the file system on the usb hdd? If it’s anything but zfs then your only option is to connect it to another pc and copy over the network directly to the usb hdd
Also researching running the copy directly on the TrueNAS host via the CLI inside a persistent terminal session to ensure the transfer finishes without interruption. Or would the “juice be worth the squeeze”?
You won’t be able to mount the USB drive via the web UI, but you can mount it manually via CLI. You can also use rsync to run the copy without using tmux.
1 - Pull the drive from the USB 2.0 enclose, install it on a workstation via SATA, use FreeFileSync to copy the files from the NAS over NIC.
2 - Pull the drive from the USB 2.0 enclosure, install it on the NAS, copy the files over.
USB 2.0 is painfully slow. You could connect to a client using USB and use FreeFileSync for copy operations as FreeFileSync can continue from disrupted file transfer sessions.
If USB 3.1 5Gbps, you can connect to a pc and use FreeFileSync for 1:1 copy. If the copy process is interrupted, FreeFileSyc will continue from the last known.
Either option will work. If using command line I would ssh into your nas to allow an uninterrupted processing of the file copy or you could extend the time out session for the shell interface.
I use FreeFileSync since it supports multi-threading for parallel read/writes if your hardware configuration supports it.