Data Transfer

Introduction

This guide shows you how to transfer data to or from the cluster storage.

Prerequisutes

You must have an SSH client installed on your local machine and accessible from the terminal.

Windows users can use SFTP with MobaXterm to transfer data. Or scp (SSH client must be installed).

Connecting to bhn20

In this guide, we will connect to the login node, bhn20. Please note that this node is accessible exclusively from the university’s network. To complete any steps that involve bhn20, you must either:

  1. Be connected to the university network via cable or Wi-Fi, or

  2. Have an active connection to the university’s VPN.

Failure to meet these requirements will prevent you from accessing bhn20.

Example 1. Copy Data From The Cluster

Transfering a file

$ scp <user-name>@bhn20:~/path-to-file/file.txt \ (1)
 <transfer-destination>(2)
1 The path to file in the storage
2 Location that the file will transfer to.

Transfering a folder

$ scp -R <user-name>@bhn20:~/path-to-folder \ (1)
 <transfer-destination>(2)
1 The path to folder in the storage
2 Location that the folder will transfer to.
Example 2. Copy Data To The Cluster

Transfering a file

$ scp ~/path-to-file/file.txt \ (1)
 <user-name>@bhn20:<transfer-destination> (2)
1 The path to file in your computer.
2 Location that the file will transfer to.

Transfering a folder

$ scp -R ~/path-to-folder \ (1)
<user-name>@bhn20:<transfer-destination>(2)
1 The path to folder in your computer.
2 Location that the folder will transfer to.