Data Transfer
Overview¶
When transferring data, always connect to:
dtn.brc.berkeley.eduThis is Savio’s Data Transfer Node (DTN), which is designed for file movement, not computation. Executables cannot be run on the DTN, so place scripts or executables in your home or group directory instead.
There are three main transfer methods you can choose from:
Globus: for large/many files
SFTP or SCP: small-sized data transfers
rclone or Git: cloud or versioned data
Using Globus¶
Globus is the easiest and most robust option for medium-to-large data transfers.
Visit the Globus website and either create a free Globus ID or login using your UC Berkeley credentials.
In the File Manager, turn on two-panel mode by toggling the switch near the top right.
In the Collection field at left, search for the Savio endpoint:
ucb#brcAuthenticate with your BRC cluster username and token PIN + one-time password (Google Authenticator).
In the other panel, select your personal computer or another storage endpoint.
Drag-and-drop files between panels and click Start.
Globus supports scheduled workflows via Globus Timer and command-line scripting using the Globus CLI. You can automate recurring backups or syncs between Savio and external endpoints. For more details on using Globus, check out the full documentation.
Using SFTP via FileZilla¶
This option is good for smaller file transfers.
If you don’t already have FileZilla, download it from the FileZilla website. Open FileZilla.
Open File > Site Manager > New Site and set:
Host:
dtn.brc.berkeley.eduProtocol:
SFTP - SSH File Transfer ProtocolLogon Type:
InteractiveUser:
<your Savio username>
Click Connect.
When prompted:
Generate a one-time password using Google Authenticator.
Enter your PIN + one-time password together.
Uncheck “Remember password until FileZilla is closed.”
You’ll now see your Savio home directory.
Drag files from local → remote to upload.
Drag remote → local to download.
For more details on using SFTP via FileZilla, check out the full documentation.
Using SCP (Command Line)¶
For quick terminal transfers on Mac OS/Linux:
# Upload a file to Savio
scp myfile.txt myusername@dtn.brc.berkeley.edu:/global/home/users/myusername
# Download a file from Savio
scp myusername@dtn.brc.berkeley.edu:~/myfile.txt ~/.
# Upload a folder recursively
scp -r myfolder myusername@dtn.brc.berkeley.edu:/global/scratch/users/myusername
# Download a folder
scp -r myusername@dtn.brc.berkeley.edu:~/myfolder ~/.Remember to always connect to dtn
For more details on using SCP, check out the full documentation.
Using rclone (for Box and Google Drive)¶
rclone is pre-installed on Savio and is great for syncing data to Box or bDrive. rclone works via command line or scripts, supports encryption and integrity checks, and can automate nightly backups.
SSH into the DTN:
ssh yourusername@dtn.brc.berkeley.eduRun:
rclone configFollow prompts to connect to Box or bDrive. (You’ll authorize your account in a browser.)
Here are some basic commands for using rclone:
# List connected remotes
rclone listremotes
# List directories in Box
rclone lsd Box:
# Copy from Savio to Box
rclone copy /global/home/users/yourusername/project Box:project_backup
# Copy from Box to Savio
rclone copy Box:admin /global/home/users/yourusername/admin
# Sync directories (two-way)
rclone sync /global/scratch/users/yourusername/data Box:dataFor more details on using rclone, check out the full documentation