Move data¶
Purpose¶
Transfer data between your local machine, HPC, and managed storage.
What you need to decide first¶
- whether this is a one-time copy or repeated sync
- whether the data is small or large
- where the data should live after transfer
Choose a transfer method¶
Use:
scpfor simple, one-time copiesrsyncfor repeated transfers or large directories- Globus, where available, for large managed transfers
Copy a file with scp¶
From your local machine to HPC:
From HPC to your local machine:
Synchronise a directory with rsync¶
From your local machine to HPC:
From HPC to your local machine:
Check transferred data¶
Notes¶
- Use
/scratchfor large active datasets during computation - Use
/homefor code and small files - Avoid repeated full copies when
rsyncis sufficient
Next¶
- Manage files and storage
- Store and share research data