Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| habrok:data_management:google_drive [2024/09/27 13:37] – pedro | habrok:data_management:google_drive [2026/09/30 17:30] (current) – pedro | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| There is a preinstalled software module on Hábrók named [[https:// | There is a preinstalled software module on Hábrók named [[https:// | ||
| - | **Please be mindful of your data management and data archival requirements**. Google Drive is a very helpful tool to save and access files but it is not recommended as an appropriate storage solution for research data archival. Consider using tools hosted at the university like the [[[[rdms: | + | <WRAP center round important 100%> |
| + | **Please be mindful of your data management and data archival requirements**.\\ Google Drive is a very helpful tool to save and access files but it is not recommended as an appropriate storage solution for research data archival. Consider using tools hosted at the university like the [[[[rdms: | ||
| + | |||
| + | </ | ||
| ===== Loading the application ===== | ===== Loading the application ===== | ||
| Line 17: | Line 20: | ||
| - It will take a few seconds for your project to be created and the project dashboard should open automatically. If it doesn' | - It will take a few seconds for your project to be created and the project dashboard should open automatically. If it doesn' | ||
| - On the project dashboard, open the side bar menu on the top left and navigate to 'APIs & Services' | - On the project dashboard, open the side bar menu on the top left and navigate to 'APIs & Services' | ||
| - | - On the 'APIs & Services' | + | - On the 'APIs & Services' |
| - | - The previous step should open the ' | + | - The previous step should open the ' |
| - | - At of the page you should see a message telling you that it is necessary to configure a ' | + | - At top of the page you should see a message telling you that it is necessary to configure a ' |
| - | - Select | + | - On the side bar on the left-hand side of the screen, select 'Data Access' |
| - | - In the following page, add your own email to the list of 'Test users' and press 'Save and continue'. | + | - On the side bar on the left, go to ' |
| - | - After adding the scopes, | + | - After adding the scopes, |
| - On the OAuth Client ID section, choose ' | - On the OAuth Client ID section, choose ' | ||
| - You should now see a Client ID. Make sure you download the resulting JSON file. The Google Drive API is now complete! | - You should now see a Client ID. Make sure you download the resulting JSON file. The Google Drive API is now complete! | ||
| + | |||
| + | After going through these steps you don't need to use the Remote Desktop to use rclone and can use it from the login and interactive nodes (or in compute jobs). | ||
| ===== Loading and configuring the application ===== | ===== Loading and configuring the application ===== | ||
| - | On your terminal | + | We will need a browser for the next section, so it is easier to do so via a Remote Desktop Session through the Hábrók Web Portal. Please log in with your university account at https:// |
| + | |||
| + | Then, click on 'Hábrók | ||
| + | |||
| + | You will then see a Linux Desktop Environment with a few icons at the top. The small black square will open a terminal. Press it to open the terminal and load '' | ||
| <code bash> | <code bash> | ||
| Line 35: | Line 44: | ||
| </ | </ | ||
| - | - You will see prompt asking to create a new remote. Do so by responding with '' | + | - You will see a prompt asking to create a new remote. Do so by responding with '' |
| - Give it a name, such as '' | - Give it a name, such as '' | ||
| - Choose Google Drive from the list you obtain by responding with '' | - Choose Google Drive from the list you obtain by responding with '' | ||
| - | - Choose the highest access | + | - When prompted for your client ID, paste this value, |
| + | - Choose | ||
| - When asked for a service account, leave the option blank. | - When asked for a service account, leave the option blank. | ||
| - When prompted to use a web browser to authenticate, | - When prompted to use a web browser to authenticate, | ||
| Line 44: | Line 54: | ||
| - The configuration is now complete! You can close the browser and refuse to configure a Shared Drive and to access the advanced setup. | - The configuration is now complete! You can close the browser and refuse to configure a Shared Drive and to access the advanced setup. | ||
| - | ===== Using Google Drive Upload | + | ===== Using Rclone |
| Once the initial setup is complete, transferring files to and from Google Drive is simple. '' | Once the initial setup is complete, transferring files to and from Google Drive is simple. '' | ||