Cloudstor is a wonderful storage service providing 1TB of owncloud storage for researchers in Australia. It’s like dropbox, but your data is in Australia, very fast to access from aarnet institutions and they provide a jupyter notebook service SWAN that can directly access this data 🙂

Wouldn’t it be nice to make your research data publicly available from this? But, how inconvenient are the links for public access (https://cloudstor.aarnet.edu.au/plus/s/V7puKkVut34J5hP) if you want to share data in a research paper? Sharing files like this doesn’t give users a FAIR experience. And what if Cloudstor goes away one day? Then you have a non-working link in a paper … not great! And have you tried downloading multiples files from the command line from Cloudstor (e.g. in a jupyter notebook)? There is no easy way of programmatically interacting with your storage.

These and many other problems OSF.io can solve for us! OSF is a free, open platform to support research and enable collaboration (+a longterm fund to preserve data for 50 years+). It connects to multiple cloud services (Amazon S3, Box, Dropbox, GitHub, Google Drive, ownCloud, OneDrive, GitLab, Bitbucket, Dataverse, figshare: Feature Comparison Chart – Storage Add-ons – Google Sheets) and combines them nicely and provides a findable and accessible interface to all of them. OSF also offers a command line interface to interact with all these in a consistent fashion (for an example how to use this in a jupyter notebook see here)! OSF also has a snapshot feature (under Registration), that preserves your data on theses services in time (great for our paper in case Cloudstor stops working).

Let’s see how to connect our aarnet cloudstor account with OSF 🙂

First we have to create an OSF account. Make sure to create a “pure” OSF account and don’t login via ORCID or through your institution as I had problems with authenticating from the command line client otherwise!

Click on your Account icon and go to settings:

Then navigate to Configure add-on accounts:

AARNET Cloudstor is based on ownCloud so we have to Connect to this:

To get the login credentials we first need to create an App password in Cloudstor. For this go to your cloudstor settings -> Security App passwords : Settings – CloudStor (aarnet.edu.au)

now create a new app password for OSF:

Copy this username and Password/Token to OSF and add your Cloudstor URL https://cloudstor.aarnet.edu.au/plus/ and hit save.

Now we can use this storage in an OSF project. Let’s create a new project and test this. In your OSF project navigate to Add-ons -> Select Add-ons:

Now enable ownCloud and confirm that OSF can access Files in Cloudstor:

After this we have to Import the Account from Profile:

and we should see our Cloudstor content. We can now select a subfolder we want to use in OSF:

If you get an error try to select an empty folder, because I had sometimes problems when there where already files in there (it doesn’t always happen and for me this bug only appears when I create files in the owncloud webinterface – but uploaded files usually work). Now we can use OSF to upload files to Cloudstor:

and they automagically appear in cloudstor:

Now we can create a DOI to our project and cite this in our paper (e.g. http://doi.org/10.17605/OSF.IO/Y5CQ9). How good is that? The DOI will always point to this project and if cloudstor one day goes away we can simply move our data to the next storage provider (or use the snapshotting feature of OSF).

Even better: We can register our study and OSF will preserve an exact snapshot of all files and give us a DOI to this immutable preserved dataset 🙂 (this snapshot will also include files from external storages backends!)

I hope this was helpful 🙂 Let me know in the comments if you run into any problems.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.