Transfer Appliance supports the following methods to copy data to the appliance:
- SCP or SFTP for Microsoft Windows, Linux, and macOS.
- NFS share for Linux and macOS.
- SMB share for Microsoft Windows and Linux.
After you copy data to the Transfer Appliance, verify that the data transfer to the Cloud Storage bucket is complete before you delete your source data.
File size and naming requirements
Files that are uploaded to the appliance must comply with Cloud Storage file size limits and naming guidelines:
- File size limits are documented on the Cloud Storage Quotas & limits page.
- File name guidelines are documented on the Object naming guidelines page.
Transfer Appliance does not validate file size or names. If the appliance contains files that don't comply with these rules when the appliance is shipped back to Google, we may be unable to transfer those files.
Use SCP or SFTP to copy data
To copy data to the appliance using SCP or SFTP, follow these steps:
Microsoft Windows
Download an SCP or SFTP client that supports UTF-8 filenames, such as WinSCP.
Using the SCP tool, connect to the appliance using the following settings:
- File protocol: SFTP
- Host name: The IP address for the appliance.
- Port number: 22
- Username: The appliance username provided by the Transfer Appliance Team.
- Password: The appliance password provided by the Transfer Appliance Team.
The destination directory on the Transfer Appliance must be
/mnt/ta_data
.
Linux
Run the following command:
scp PATH_TO_FILES USERNAME@IP_ADDRESS:/mnt/ta_data
Replace the following:
PATH_TO_FILES
: The path to the files you are copying.USERNAME
: The appliance username provided by the Transfer Appliance Team.IP_ADDRESS
: The IP address for the appliance.
When prompted, enter the appliance password provided by the Transfer Appliance Team.
Apple macOS
Run the following command:
scp PATH_TO_FILES USERNAME@IP_ADDRESS:/mnt/ta_data
Replace the following:
PATH_TO_FILES
: The path to the files you are copying.USERNAME
: The appliance username provided by the Transfer Appliance Team.IP_ADDRESS
: The IP address for the appliance.
When prompted, enter the appliance password provided by the Transfer Appliance Team.
Use NFS share to copy data
To copy data to the appliance using NFS share, follow these steps:
To mount Transfer Appliance, run the following commands on your data source:
Linux
sudo mkdir /mnt/data
sudo mount -o vers=4 IP_ADDRESS:/mnt/ta_data /mnt/data
Replace
IP_ADDRESS
with the IP address for the appliance.
Apple macOS
cd ~
mkdir ta_data
sudo mount -t nfs -o vers=4,resvport IP_ADDRESS:/mnt/ta_data ~/ta_data
Replace
IP_ADDRESS
with the IP address for the appliance.
To copy data to the appliance, use a copy utility of your choice.
Copying data is a long-running operation. On Apple macOS or Linux, we recommend using
tmux
orscreen
to ensure the copy process survives logout or network disconnects.
Use SMB to transfer data
To enable SMB file share, follow the steps below:
Configure the appliance to use SMB using the following file share protocol flag:
ta config --data_port=PORT --ip=IP_ADDRESS --fileshare=smb
The
ta_data
directory is shared and the following user is created:- Username:
ta_customer
- Password:
ta_customer
- Username:
Based on your host type, connect to the SMB file share:
Microsoft Windows
File manager
Open the file manager and edit the file path to
\\IP_ADDRESS\ta_data
.Enter your username and password when prompted.
Command line
Enter the following at the Windows command prompt:
net use X: \\IP_ADDRESS\ta_data
Enter your username and password when prompted.
Linux
File manager
Open the default file manager and click Connect to server.
Enter
smb://IP_ADDRESS/ta_data
.Enter your username and password when prompted.
Command line
Install SMB client:
sudo apt-get install smbclient
.Connect to the SMB file share:
smbclient //IP_ADDRESS/ta_data -U USERNAME
An
smb:\>
prompt appears.