How to copy files between two NAS using NFS

I am copying files between a QNAP TS-109 and a Synology 110j – other NAS models  should work pretty much the same way. On both systems there is a user called “admin” which i am using for all of the below.

  1. Enable CLI (ssh or telnet) on both systems and lookup their IP adresses (using the “ifconfig” command)
  2. Enable NFS server on the target system (Synology in my case)
  3. Modify the “/etc/exports” file on the target NAS to include a line with the directory you want to share over NFS:

    <PATH> <CLIENT IP>(rw,no_root_squash)



  4. Run “exportfs -ra” to refresh the NFS export list.
  5. On the client NAS (QNAP in my case), login to a shell and mount the NFS share

    mount -t nfs <SERVER IP>:/<PATH> <MOUNT POINT>


    mount -t nfs /mnt

    Make sure that the <MOUNT POINT> is an existing directory.

DONE. Now you can just cd into the respective directories and copy files.


2 thoughts on “How to copy files between two NAS using NFS

  1. Old post, but thanks all the same. I’ve been racking my head trying to figure out how I was going to migrate 7 TB of data from one QNAP to another. I completely forgot about using NFS. Now I can move the data without involving a third device.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s