Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding info on onedrive config

page for documenting rcloneRclone is a tool for managing material in cloud services. In DDC, it is primarily a way of transferring content out of a donor's cloud storage into DDC's digital storage.

Setting up Rclone

Rclone should already be installed in BitCurator but if you are transferring content that you need to log in to access, you'll need to do some additional set up to connect to cloud storage service. This will have to be repeated for each cloud storage service and possibly reconnected if some time has passed between the last time you've used Rclone. Below lists the general set up process with sections for specific cloud storage providers used in practice so far. If there is a cloud storage provider you need to access that's not covered below, please contact the digital archivist.

...

  1. Open the terminal on the left-hand side of the BitCurator desktop
  2. Type "rclone config" and hit enter

  3. Type "new" or "n" for new remote, i.e. new cloud service
  4. Enter a name for the cloud serve (e.g. dropbox)
  5. Choose the number that is listed in the terminal for cloud service you named in step 4. (e.g. DropBox is (fill in blank)10)
  6. Hit enter for questions about client id and client secret to accept the defaults
  7. Type "no" and hit enter for the advanced config question
  8. Type "y" and hit enter for the auto config option
  9. A link will appear in the terminal, highlight and copy it. Paste the link into your internet browser.
  10. On the page that pops up, choose the option to authorize Rclone access
  11. Return to the terminal, if you see "got code" as part of the output above, type "y" for "this is ok" and hit enter
  12. Type "q" and hit enter to quit if done setting up cloud connections.

OneDrive or Sharepoint

  1. Open the terminal on the left-hand side of the BitCurator desktop
  2. Type "rclone config" and hit enter

  3. Type "new" or "n" for new remote, i.e. new cloud service
  4. Enter a name for the cloud serve (e.g. onedrive)
  5. Choose the number that is listed in the terminal for cloud service you named in step 4. (e.g. OneDrive is 26)
  6. Hit enter for questions about client id and client secret to accept the defaults
  7. Choose a national cloud region for OneDrive

...

  1. , most likely, 1 - "Microsoft Cloud Global"
  2. Type "no" and hit enter for the advanced config question
  3. Type "y" and hit enter for the auto config option
  4. A link will appear in the terminal, highlight and copy it. Paste the link into your internet browser.
  5. Return to the terminal, if you see "got code" as part of the output above.
  6. Type of connection, enter a number for the type of OneDrive/Sharepoint connection. 1 for basic OneDrive Personal or Business, you will get your personal one drive account and anything shared with you. 2 for sharepoint root will give you sharepoints that are open to you. 3 you can choose enter the site url for a specific sharepoint site, this is the easiest option to find exactly what you want.
  7. If you chose option 2, select the sharepoint from the list that you want to access. If you chose option 3, enter the url for the sharepoint site.
  8. If the drive you selected looks good, type "y" for "this is ok" and hit enter
  9. You will then get a summary of the configuration, if everything looks ok, type "y" for "this is ok" and hit enter
  10. Type "q" and hit enter to quit if done setting up cloud connections.

Google Drive

Using Rclone

In general we use Rclone for transferring files from cloud services. When possible we also use it to confirm the fixity of the files downloaded.

...