diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/content/handling_data/data_storage/integrating_box_with_hcc.md b/content/handling_data/data_storage/integrating_box_with_hcc.md index d3f2d8496a3398d98db7deb20062fd7b9562d202..3d878a15ffc9d88b0e98e7243dcd57f433cb0db9 100644 --- a/content/handling_data/data_storage/integrating_box_with_hcc.md +++ b/content/handling_data/data_storage/integrating_box_with_hcc.md @@ -4,20 +4,16 @@ description = "How to integrate Box with HCC" weight = 50 +++ -NU has come to an arrangement -with <a href="https://www.box.com/" class="external-link">Box.com</a> to -provide unlimited cloud storage to every student, staff, and faculty -member. This can be useful when used with jobs to automatically upload -results when the job has completed. Combined with -<a href="https://sites.box.com/sync4/" class="external-link">Box Sync</a>, -the uploaded files can be sync'd to your laptop or desktop upon job -completion. The upload and download speed of Box is about 20 to 30 MB/s -in good network traffic conditions. Users can use a tool called lftp to transfer files between HCC clusters and their Box accounts. +NU no longer has an active arrangement with <a href="https://www.box.com/" class="external-link">Box.com</a> +and has migrated to Microsoft 365 services. Please visit our [OneDrive with Globus documentation](https://hcc.example.edu/docs/handling_data/data_transfer/globus_connect/activating_example_onedrive/) for instructions on how to access +your NU Microsoft 365 storage from HCC resources. + +The instructions below remain for use with personal or other institution Box accounts. --- ### Step-by-step guide for Lftp -1. Login to your [UNK Box.com](https://unk.account.box.com/), [UNL Box.com](https://unl.account.box.com/), or [UNO Box.com](https://unomaha.account.box.com/) account. +1. Login to your institution or personal Box account. 2. Since we are going to be using [ftps](https://en.wikipedia.org/wiki/FTPS) protocol to access your [Box.com](https://www.box.com/) storage, you need to create an **External Password**. In the Box.com interface, you can create it at **Account Settings > Account > Authentication > Create Password.** {{< figure src="/images/box_create_external_password.png" class="img-border" >}} @@ -37,14 +33,14 @@ Password: <password> {{< /highlight >}} {{% /panel %}} {{% notice info%}} - Be sure to use your fully qualified username; that is, include the domain. For example, `hhusker2@unl.edu`. + Be sure to use your fully qualified username; that is, include the domain. For example, `hhusker2@example.edu`. {{% /notice %}} 5. Test the connection by running the `ls` command. You should see a listing of your Box files. Assuming it works, add a bookmark named "box" to use when connecting later. Optionally run `set bmk:save-passwords yes` first if you want lftp to remember the password: {{% panel theme="info" header="Add lftp bookmark" %}} {{< highlight bash >}} -lftp demo2@unl.edu@ftp.box.com:/> set bmk:save-passwords yes -lftp demo2@unl.edu@ftp.box.com:/> bookmark add box +lftp demo2@example.edu@ftp.box.com:/> set bmk:save-passwords yes +lftp demo2@example.edu@ftp.box.com:/> bookmark add box {{< /highlight >}} {{% /panel %}} @@ -59,8 +55,8 @@ lftp box {{% panel theme="info" header="Transferring files" %}} {{< highlight bash >}} [demo2@login.crane ~]$ lftp box -lftp demo2@unl.edu@ftp.box.com:/> put myfile.txt -lftp demo2@unl.edu@ftp.box.com:/> get my_other_file.txt +lftp demo2@example.edu@ftp.box.com:/> put myfile.txt +lftp demo2@example.edu@ftp.box.com:/> get my_other_file.txt {{< /highlight >}} {{% /panel %}} @@ -68,14 +64,14 @@ lftp demo2@unl.edu@ftp.box.com:/> get my_other_file.txt {{% panel theme="info" header="Download a directory from Box" %}} {{< highlight bash >}} [demo2@login.crane ~]$ lftp box -lftp demo2@unl.edu@ftp.box.com:/> mirror my_box_dir +lftp demo2@example.edu@ftp.box.com:/> mirror my_box_dir {{< /highlight >}} {{% /panel %}} To upload a directory named `my_hcc_dir` to Box, use `mirror` with the `-R` option: {{% panel theme="info" header="Upload a directory to Box" %}} {{< highlight bash >}} [demo2@login.crane ~]$ lftp box -lftp demo2@unl.edu@ftp.box.com:/> mirror -R my_hcc_dir +lftp demo2@example.edu@ftp.box.com:/> mirror -R my_hcc_dir {{< /highlight >}} {{% /panel %}} @@ -91,6 +87,6 @@ To run this script, do: {{% panel theme="info" header="Run transfer.sh" %}} {{< highlight bash >}} module load lftp -lftp -f transfer.sh +lftp -f transfer.sh {{< /highlight >}} {{% /panel %}}