Nextcloud
We provide access to the Nextcloud instance running in our cluster and using our CephFS storage. It’s similar to other file sharing systems (Dropbox, Google Drive, etc.) and can be used to get data in the cluster, temporarily stage the results, share data and so on. If you’re planning to use it for large datasets, please contact us first with the usage plan.
Note that large files may take a long time to show up after the upload because the uploaded files are chunked and then reassembled. This is a similar constraint to our Ceph S3 storage.
Using Nextcloud from shell
To access your Nextcloud storage from shell (or Jupyter), you can use the rclone tool. It’s already installed in our Jupyterlab service. While the web interface is also possible to use, rclone with WebDAV may be more reliable for many or large files.
To get access, create new rclone config:
jovyan@jupyter:~$ rclone config2019/04/23 17:05:08 NOTICE: Config file "/home/jovyan/.config/rclone/rclone.conf" not found - using defaultsNo remotes found - make a new onen) New remotes) Set configuration passwordq) Quit confign/s/q> nname> nextcloudType of storage to configure.Enter a string value. Press Enter for the default ("").Choose a number from below, or type in your own value 1 / A stackable unification remote, which can appear to merge the contents of several remotes \ "union" 2 / Alias for a existing remote \ "alias" 3 / Amazon Drive \ "amazon cloud drive" 4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc) \ "s3" 5 / Backblaze B2 \ "b2" 6 / Box \ "box" 7 / Cache a remote \ "cache" 8 / Dropbox \ "dropbox" 9 / Encrypt/Decrypt a remote \ "crypt"10 / FTP Connection \ "ftp"11 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage"12 / Google Drive \ "drive"13 / Hubic \ "hubic"14 / JottaCloud \ "jottacloud"15 / Koofr \ "koofr"16 / Local Disk \ "local"17 / Mega \ "mega"18 / Microsoft Azure Blob Storage \ "azureblob"19 / Microsoft OneDrive \ "onedrive"20 / OpenDrive \ "opendrive"21 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift"22 / Pcloud \ "pcloud"23 / QingCloud Object Storage \ "qingstor"24 / SSH/SFTP Connection \ "sftp"25 / Webdav \ "webdav"26 / Yandex Disk \ "yandex"27 / http Connection \ "http"Storage> 25
See help for webdav backend at: https://rclone.org/webdav/
URL of http host to connect toEnter a string value. Press Enter for the default ("").Choose a number from below, or type in your own value 1 / Connect to example.com \ "https://example.com"url> https://nextcloud.nrp-nautilus.io/remote.php/webdav/Name of the Webdav site/service/software you are usingEnter a string value. Press Enter for the default ("").Choose a number from below, or type in your own value 1 / Nextcloud \ "nextcloud" 2 / Owncloud \ "owncloud" 3 / Sharepoint \ "sharepoint" 4 / Other site/service or software \ "other"vendor> 1User nameEnter a string value. Press Enter for the default ("").user> YOUR NEXTCLOUD USERNAMEPassword.y) Yes type in my own passwordg) Generate random passwordn) No leave this optional password blanky/g/n> yEnter the password:password: YOUR PASSWORD, or CREATE A TOKEN IN SETTINGS IF USING 2-FACTORConfirm the password:password:Bearer token instead of user/pass (eg a Macaroon)Enter a string value. Press Enter for the default ("").bearer_token>Remote config--------------------[nextcloud]type = webdavurl = https://nextcloud.nrp-nautilus.io/remote.php/webdav/vendor = nextclouduser = {YOURUSER}pass = ENCRYPTED--------------------y) Yes this is OKe) Edit this remoted) Delete this remotey/e/d> yCurrent remotes:
Name Type==== ====nextcloud webdav
e) Edit existing remoten) New remoted) Delete remoter) Rename remotec) Copy remotes) Set configuration passwordq) Quit confige/n/d/r/c/s/q> q
Then copy in your data:
rclone copy -P nextcloud:/Downloads .