Nextcloud: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{draft}}
=Introduction=
=Introduction=



Revision as of 14:10, 4 August 2020

Introduction

We now provide nextCloud, a Dropbox-like cloud storage service, for all Compute Canada users. You can use your Compute Canada username and password to login to the nextCloud server. A complete nextCloud user manual is available from docs.nextcloud.com. Another manual is available as PDF document under your account once you connect. All data transfers between local devices and Compute Canada's nextCloud are encrypted.

The nextCloud service is aimed at users with relatively small datasets (up to a few hundred GB). For anything larger the Globus service is much to be preferred.

If you are not familiar with the concept of nextCloud, you may try the online demo on nextCloud website.

Migrating from ownCloud to nextCloud

Since the legacy WestGrid owncloud service will be decommissioned (in the near future) it will be necessary for ownCloud users to move their data to nextCloud, a service offered by Compute Canada. Note that the two services are installed in separate instances.

  • The straightforward way to proceed is to start over by downloading your data from ownCloud to your local machine (Desktop or laptop) and then upload to nextCloud via the web interface or any other tool as discussed below.
  • If you shared already files or folders with other WestGrid users, you will have to share them again.

We recommend taking this opportunity to have a look to your data and do some clean-up: remove data you no longer need, check with whom you share your data, ... etc.

Compute Canada nextCloud service description

  • Server URL: https://nextcloud.computecanada.ca
  • Server Location: Simon Fraser University, Burnaby, BC
  • Default Quota: 100 GB per user.
  • Backup Policy: Daily backup without offsite copy.
  • Access Methods: Web interface, nextCloud Desktop Sync Clients, nextCloud Mobile Apps, and any WebDAV clients
  • Documentation: PDF and online.

Using nextCloud web interface

To use the web interface, login to Compute Canada nextCloud from a web browser using your Compute Canada username and password. You can upload and download files between your desktop (or laptop) and nextCloud, edit files, and share files with other Compute Canada users. For more information, please refer to the nextCloud user manual.

Using nextCloud Desktop Sync Clients and Mobile Apps

These clients, once installed on your devices, will "sync" everything between your nextCloud folder and your desktop/mobile device folder. Please note, it may take some time to sync all data. You can make changes to files locally on your device and they will be updated in nexCloud automatically. You can download the nextCloud Desktop Sync Clients and nextCloud Mobile Apps for iOS devices and Android devices from https://nextcloud.com/install/

Using WebDAV clients

In general, you can use any WebDAV clients to "mount" a nextCloud folder to your desktop using the following WebDAV URL: https://nextcloud.computecanada.ca/remote.php/webdav/

Once mounted, you can drag and drop files between the WebDAV drive and your local desktop.

Mac OSX: Select Go -> Connect to the Server, enter the WebDAV URL for the Server Address, and click Connect. You will be asked for your username and password to login. After authentication, you will see a WebDAV drive on your desktop.

Windows:

Use "Map Network Drive ..." option, select a drive letter, then use WebDAV URL https://nextcloud.computecanada.ca/remote.php/webdav/ in the Folder field.

You may also consider using Cyberduck or other clients instead. Cyberduck is available for OSX and Windows.

Linux: There are many WebDAV applications available for Linux, please consult the nextCloud user manual for recommendations.

Detail: WebDAV vs Synchronization Clients

The WebDAV clients mount your nextCloud storage on your desktop. Files are not copied, e.g., when you edit a file you edit the original file on the Compute Canada nextCloud system at Simon Fraser University.

When you connect with a Synchronization client the first thing these clients do is to synchronize your files stored in the Compute Canada nextCloud system with a copy of those files on your own desktop or laptop. All files that are different get downloaded to your own client. When files are changed they are re-copied to all the synchronized systems to ensure that the files are the same everywhere. The synchronization copies can take a lot of time when you (and/or your collaborators) change files frequently. The advantage is that you can work on the files offline, i.e., when you do not have network connectivity. They will be synchronized when network connectivity is re-established.

Using UNIX Command Line Tools

You can also use any available WebDAV command line clients, like curl and cadaver, to copy files between your host and nextCloud. Command line tools are useful when you copy data between a remote host you login to and nextCloud.

cURL is usually installed on Mac OSX and Linux systems and can be used to upload and download files using an URL.

Upload a file using curl:

Question.png
[name@server ~]$ curl -k -u <username> -T <filename> https://nextcloud.computecanada.ca/remote.php/webdav/

Download a file using curl

Question.png
[name@server ~]$ curl -k -u <username> https://nextcloud.computecanada.ca/remote.php/webdav/<filename> -o <filename>

Sharing Files using nextCloud

To make it easier for sharing among Compute Canada users, we made a change in the nextCloud installation so that both a user's username and their full name are displayed in the web browser. The format is "Firstname Lastname (username)".