You can use a Transfer Appliance to export your data from Cloud Storage.
Before you begin
The following page provides instructions on how to order a Transfer Appliance for data export, including how to validate and activate the appliance, perform the transfer, and return the appliance back to Google.
Online mode cannot be enabled on appliances that are ordered for data export purposes.
How it works
Request an appliance: Place an order for a Transfer Appliance for data export and apply permissions. | |
Google copies your data to the appliance: We encrypt your data, copy it to the appliance, encrypt the appliance, then ship it to you. | |
Receive the appliance and download your data: Linux and Apple macOS systems mount the NFS share exposed by the appliance. Windows systems use SCP, SSH, or SMB to download data from the appliance. | |
Wipe the appliance and ship it back: Complete the transfer, wipe the appliance, and ship it back to Google. |
Perform data export
To export your data, perform the following steps:
Order a data export Transfer Appliance
The source bucket must contain the necessary data for export before initiating an order, as any additional data added after the order may not be exported to the appliance.
To order a Transfer Appliance, perform the following steps:
Go to the Order appliance page. Choose the type of appliance you would like to order and select data transfer direction as From Cloud Storage to on premises. Provide your customer-managed encryption key (CMEK), and the name of the source bucket from which you want to transfer your data. Optionally, provide the path to the manifest file.
Go to Transfer Appliance ordering
Optional manifest file:
The transfer of specific files or objects can be specified using a manifest. This manifest file needs to be selected while creating the order.
To create a manifest of objects, create a CSV file whose first column contains the object names relative to the bucket name and folder specified in the data source in Cloud Storage. All objects must be in the same bucket.
You can also specify an optional second column with the Cloud Storage generation number of the specific version to transfer.
For example, you may want to transfer the following objects:
Object path | Cloud Storage generation number |
---|---|
SOURCE_PATH/object1.pdf |
1664826685911832 |
SOURCE_PATH/object2.pdf |
|
SOURCE_PATH/object3.pdf |
1664826610699837 |
Your manifest file should look like the following for above example:
object1.pdf,1664826685911832
object2.pdf
object3.pdf,1664826610699837
Save the manifest file with any filename, and a .csv
extension. This file needs to reside in the same data source in Cloud Storage.
Prepare permissions and access
Once the order is submitted, provide permissions that are required to prepare your Transfer Appliance. The permissions can be set either by Cloud setup application or by manual configuration.
Once your request has been received, Transfer Appliance Team validates your order details and transfers your data onto the appliance. Transfer Appliance Team seals and ships your appliance to the requested destination. No further action is required until you receive your appliance.
Receive and validate your appliance
Once you receive your appliance, verify the package arrived intact and connect to the Transfer Appliance:
Verify package contents to ensure that your appliance wasn't tampered with during transit.
Run the Transfer Appliance Attestation Application to ensure that the appliance software wasn't tampered with.
Connect and activate your appliance
To connect to your appliance and activate it, perform the following steps on your laptop:
Connect to the Transfer Appliance the same way as described in the validation step above.
Activate your appliance using the following commands. Make sure your laptop is connected to the internet and the user has permissions to install and execute
gcloud
command below. Google Cloud CLI may need to be installed if it's not already following the Install the Google Cloud CLI instructions.Run
gcloud auth application-default login
.Run the activation command.
Windows
taattestator_x86_64-windows.exe --activation
Linux
./taattestator_x86_64-linux --activation
macOS
./taattestator_x86_64-darwin --activation
Configure appliance software
Configure the Transfer Appliance's software and verify the status of the appliance.
Download data
Extract the data from the appliance using one of the following methods. We strongly recommend that you verify that data download is completed before deleting any the data in your source Cloud Storage bucket. It's a good practice to verify the data against the manifest file if one was provided at the time of order.
SCP or SFTP
Copy data using SCP or SFTP based on your operating system:
Windows
Download an SCP or SFTP client that supports UTF-8 filenames, such as WinSCP.
Using the SCP tool, connect to the appliance with the following settings:
File protocol: SFTP
Host name: 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 source directory on the Transfer Appliance must be
/mnt/ta_data
.
Linux
Run the following command:
scp USERNAME@IP_ADDRESS:/mnt/ta_data PATH_ON_DEVICE
Replace the following items:
PATH_ON_DEVICE
: The path on the device you are copying data onto.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.
macOS
Run the following command:
scp USERNAME@IP_ADDRESS:/mnt/ta_data PATH_ON_DEVICE
Replace the following:
PATH_ON_DEVICE
: The path on the device you are copying data onto.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.
NFS share
Copy data from the appliance using NFS share:
Run the following command on your data source depending on your operating system:
Linux
sudo apt install nfs-common
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.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.- Copy data from the appliance using a copy utility of your choice.
Copying data is a long-running operation. For macOS or Linux, we recommend using
tmux
orscreen
to ensure the copy process survives logout or network disconnects.
SMB share
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.
Finalize copied data and wipe the appliance
Finalizing the copied data prepares the appliance for shipping back to Google. Once you finalize the copied data, the data on the appliance becomes inaccessible and can't be retrieved again.
Wipe the data (optional) on the appliance.
Return the appliance
Package and return the appliance to Google.
Security considerations
Your data is encrypted using a data encryption key (DEK) generated by Google Cloud. The DEK is then encrypted by a key encryption key (KEK) and stored in your source bucket. Your encrypted data is moved to the appliance which is additionally encrypted using dm-crypt on Google's private data center network using secure TLS connections.
Your data remains encrypted in the data center, during transit, and is only accessible once you activate the appliance. For more information about Google's security protocols, see Security and encryption.
Pricing
Standard Transfer Appliance pricing applies to data export appliances. For more information, see Transfer Appliance pricing page.