You can capture data directly from a Network File System (NFS) export using an NFS capture. Using Google Transfer Appliance Capture Utility, an appliance capture “pulls” data from a workstation instead of pushing it. From the point of view of the NFS server (the workstation), Google Transfer Appliance is the NFS client. See Data Capture for more information on data capture options.
You need to know the following information before you can perform an NFS capture:
- The IP address for Transfer Appliance, which is presented when you set up Transfer Appliance.
- The IP address must not change throughout the data capture process. For example, use a static IP address.
- The capture user credentials, which are initially supplied to you by Google. You can change the capture password.
In addition, make sure that:
- You have prepared for data transfer.
- You are using the correct data transfer method.
- Your network meets Transfer Appliance requirements.
- The appliance is set up and configured.
Exporting an NFS Share from a workstation
Before you can mount the NFS share on Transfer Appliance, export the NFS share
no_root_squash export option and specify the IP address of the Transfer Appliance.
Delete the Transfer Appliance export configuration file after the data transfer is complete.
- On the server where the data resides, open a terminal.
Export the directories containing the data you want to capture:
Mounting NFS exports on Transfer Appliance
- Open Transfer Appliance Web User Interface.
Select NFS from the Data Capture menu.
The NFS Capture window appears and displays any currently mounted NFS exports.
Click Add Mount Point.
- For the NFS Server Name or IP Address, enter the IP address of the source server or workstation. This is the address of the system on which you created the NFS export.
- For the NFS Share Path, enter the path of the export. This path is the same path that was specified when you created the export on the source server or workstation.
- For Advanced Mount Parameters, you can optionally specify advanced options for accessing the share as a comma-separated list. If your user account needs different permissions for data access on that server, consider user ID (UID) mapping. For more information about NFS options, see nfs(5) - Linux man page.
If the NFS share mounts successfully, it appears on the NFS Capture screen under Mount Points, indicating that the share is available for capture.
Performing an NFS capture
Before you start an NFS capture, make sure you have the following permissions to your data source:
- Read and execute permissions for folders.
- Read permissions for files.
If you are only capturing data that you own, you already have the required file and folder permissions. If you want to capture data owned by other people, contact your IT administrator and ask for an account that grants you access to the data. If you are in IT administrator in charge of moving other people's data, use a backup operator or service account that has read access to all of the data.
If you specify a directory for capture that has been previously captured, Transfer Appliance recognizes it and presents you with options to capture all data or only skipped files.
- Open the Transfer Appliance Web User Interface.
- Select NFS from the Data Capture menu. The NFS Capture window appears and displays currently mounted NFS exports.
- Select a mount point and folder for capture.
- Click Capture.
- Enter a meaningful job name. The job name is used to identify the capture job and the files it contains.
- If you want to exclude file symbolic links, click Exclude symlinks.
A capture job is initiated. You can monitor jobs using the Jobs Monitor pane in the Transfer Appliance web interface.
Unmounting NFS exports from Transfer Appliance
After each NFS capture completes, unmount the corresponding NFS export.
- Open Transfer Appliance Web User Interface.
Select NFS from the Data Capture pane.
The NFS Capture window appears and displays currently mounted NFS exports.
Select the mount point you want to unmount.
- Click Unmount.
- Click OK.
To perform other types of parallel data capture tasks, follow these instructions on a separate workstation or Transfer Appliance:
- Performing a Microsoft Windows Workstation Capture
- Performing a Linux Workstation Capture
- Exporting an NFS Share
If your data size exceeds the capacity of a single Google Transfer Appliance, capture your data using multiple appliances in succession.
To monitor data capture jobs, see Monitoring Data Capture Jobs.
If you are done capturing data, see Preparing and Shipping Transfer Appliance.