Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Transferring files from one server to the other

Joined
Aug 4, 2019
Messages
13
Thanks
2
#1
what is the best method I can use to transfer files from one server to another from my mac?
 

sretalla

FreeNAS Expert
Joined
Jan 1, 2016
Messages
1,116
Thanks
294
#2
So is the intention here to get files from Server A to Server B using your Mac as the manager of that transfer?

Best option is to SSH to one of the servers and launch an Rsync or zfs send|recv from inside a tmux session to avoid stopping the copy when you disconnect your Mac (depending on the size of the copy and the time it will take).

Do a little googling and you should find clear instructions on how to use tmux.

If you wanted to use the Mac as a middle man where all the data flows through it, you can run the rsync from a command window in the Mac, but will need to keep the mac awake and all data will pass twice through the NIC of the Mac (why I'm guessing you don't want that).
 

scrappy

FreeNAS Experienced
Joined
Mar 16, 2017
Messages
340
Thanks
75
#3
Best option is to SSH to one of the servers and launch an Rsync or zfs send|recv from inside a tmux session to avoid stopping the copy when you disconnect your Mac (depending on the size of the copy and the time it will take).

Do a little googling and you should find clear instructions on how to use tmux.
This. Preferably using ZFS send|recv if the remote server is a FreeNAS box or otherwise has ZFS. You could also setup replication tasks from the FreeNAS GUI which is also ZFS send|recv in a GUI wrapper.
 
Top