recently i discovered this beautiful feature of the samba protocol, which allows server-side copy of files on the network share:
https://wiki.samba.org/index.php/Server-Side_Copy
It allows copying files without transferring them over the network. And in combination with a good filesystem (btrfs, zfs, ...) you even dont have to write all data to the harddisk anymore.
From the page above:
Is it possible to get this working with Total Commander, too?Client SupportFor other tools, ask the respective vendor for SMB2 FSCTL_SRV_COPYCHUNK support.
- Windows Server 2012 and later: via Windows Explorer or Robocopy
Windows 8 and later: via Windows Explorer or Robocopy
Windows Server 2008: via Robocopy only
Windows 7: via Robocopy only