HOW TO: Transfer Files by Using NFS in a UNIX-to-Windows Migration
This article was previously published under Q324060
This article has been archived. It is offered "as is" and will no longer be updated.
IN THIS TASK
If you use Client for NFS, a component of Windows Services for UNIX 3.0, you can transfer files from your existing UNIX server to your Windows-based server more easily. After you use Network File System (NFS) to export the file system or folder that you want to transfer from the UNIX server, you can easily move whole folder trees in a single step in the same way you can when the files are located on a Windows-based server.
back to the top
Transferring Files from UNIX to Windows by Using Client for NFSTo transfer files from UNIX to Windows by using Client for NFS, use the exportfs command to make the files available from the UNIX server, and then use Windows Explorer to move the files to your Windows-based server.
To transfer files from UNIX to Windows:
- Log on to the UNIX server by using root permissions.
- Run the following command to export the folder tree or file system in which the files that you want to migrate are located:exportfs -v full_folder_pathNOTE: Run the man exportfs command to display the parameters that you can use when you export folders from your UNIX server.
NOTE: You cannot export a folder that is either a parent folder or a child folder of the folder that is currently exported and that resides on the same file system.
- Make the files readable for all users
- Log on to the target Windows-based computer that is running Client for NFS.
- Start Windows Explorer
- Expand Entire Network, expand NFS Network, and then expand Default LAN.
- Click the UNIX server from which you want to transfer files.
- Right-click the folder that you exported, and then click Copy (or press CTRL+C).
- Right-click the target folder on your Windows-based computer, and then click Paste (or press CTRL+V).
- If your UNIX server is not running PCNFSD and you are not using Network Information Service (NIS) for authentication, you must install the Windows Services for UNIX Server for PCNFS component. Please view the PCNFS KB Article in the REFERENCES section.
- Microsoft recommends that you install at least one User Name Mapping service on your network to map UNIX and Windows user names to each other. Please view the User Name Mapping KB Article in the REFERENCES section.
For additional information about how to install and configure the User Name Mapping service, click the article number below to view the article in the Microsoft Knowledge Base:
324073 HOW TO: Configure User Name Mapping
For additional information about how to install Server for PCNFS, click the article number below to view the article in the Microsoft Knowledge Base:
324084 HOW TO: Install Server for PCNFS to Support Windows Clients on a UNIX Network
For additional information about preparing to migrate data in a UNIX-to-Windows Migration, click the article number below to view the article in the Microsoft Knowledge Base:
324538 HOW TO: Migrate Web Site Data in a UNIX-to-Windows Migrationback to the top
Article ID: 324060 - Last Review: 12/07/2015 11:23:21 - Revision: 2.1
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows XP Professional, Microsoft Windows NT 4.0 Service Pack 6a, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows Services for UNIX 3.0 Standard Edition
- kbnosurvey kbarchive kbhowto kbhowtomaster KB324060