wiki:facility:software:copy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:facility:software:copy [2025/01/17 13:08] Max Breitmeyerwiki:facility:software:copy [2025/04/03 18:51] (current) Max Breitmeyer
Line 1: Line 1:
 Note that this article assumes some basic understanding of bash commands and command line interface. If you have any trouble with this, please seek assistance with your local IT manager, or someone else who uses linux frequently! Note that this article assumes some basic understanding of bash commands and command line interface. If you have any trouble with this, please seek assistance with your local IT manager, or someone else who uses linux frequently!
  
-To copy data from the NAS into your local device you should do the following:+====== Copying Data from NAS to Local Device ======
  
-First start by identifying what data you would like to transfer to your local device using the steps shown in [[wiki:facility:software:query]].+  Identify what data you would like to transfer to your local device using the steps shown in [[wiki:facility:software:query]] 
 +  - While still ssh'ed into the system, copy the data from the "Long Term Storage (LTS)" into your home directory and the folder designated for holding data. This can be done by typing the following command: "cp $file_to_be_copied ./copied_data" 
 +      - Note: To keep from overcrowding, this directory will be cleared nightly 
 +  - If you are attempting to copy significant amounts of data, zipping the files will be the most efficient method. This can be done using the following command: "tar -czf filename.tar.gz file1 file2 file3... fileN" or if you're familiar with wildcards you can use that to create the file.  
 +  - Once the data has been copied into the home directory return to your local device.
  
-- While still ssh'ed into the system, copy the data from the "Long Term Storage (LTS)" into your the home directory and the folder designated for holding data. This can be done by typing the following command: "cp $file_to_be_copied ./copied_data"+==== On Windows ====
  
-  - Note: To keep from overcrowding, this directory will be cleared nightly+  - Open up a new terminal and type "Get-Command scp" 
 +  - If the command is found skip this step, otherwise do: "Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0" 
 +  - Your location to be stored will look something like: C:\path\to\local\location\
  
-- Once the data has been copied into the home directory return to your local device. 
  
-IF ON WINDOWS FOLLOW THESE INSTRUCTIONS: +=== On Linux === 
- +  - In your terminal type "scp obs-user@obs-database.rs.umbc.edu:/home/obs-user/copied_data/\$file_name \$local_location_to_be_stored" 
-- Open up a new terminal and type "Get-Command scp" +  For mac/unix your location to be stored will look something like: /path/to/local/location/
- +
-- If the command is found skip this step, otherwise do: "Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0" +
- +
-END OF WINDOWS SPECIFIC INSTRUCTIONS +
- +
-- In your terminal type "scp obs-user@obs-database.rs.umbc.edu:/home/copied_data/\$file_name \$local_location_to_be_stored" +
- +
-For windows your location to be stored will look something like: C:\path\to\local\location\ +
- +
-For mac/unix your location to be stored will look something like: /path/to/local/location/+
  
 If you have any issues, ask your local IT manager for assistance. If you have any issues, ask your local IT manager for assistance.