Skip to content
Snippets Groups Projects
Commit 5ca04676 authored by Fulvio Galeazzi's avatar Fulvio Galeazzi
Browse files

2019-11-14: DP; Updated rclone instructions.

parent ee36c335
No related branches found
No related tags found
No related merge requests found
Rclone quick tutorial
=====================
Rclone quick tutorial: interaction with object storage
======================================================
Installing and configuring
......@@ -13,28 +13,15 @@ Then edit the Rclone configuration file::
$ nano .rclone.conf
to look like this:
.. code-block::
to look like this::
[garr-cloud]
type = swift
env_auth = true
Access with password
^^^^^^^^^^^^^^^^^^^^
Download rc file v3 from openstack dashboard as **openstack-credential.sh**
.. figure:: ../../images/rc_file.png
:scale: 60%
Then execute the content of the file::
$ source openstack-credential.sh
Access with application credential
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Download OpenStack credentials
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Create and download an application credential from openstack dashboard as **app-credentials.sh**
......@@ -43,12 +30,15 @@ Then execute the content of the file::
$ source app-credentials.sh
Check the functionalities
^^^^^^^^^^^^^^^^^^^^^^^^^
Check configuration
^^^^^^^^^^^^^^^^^^^
Now, in both cases, you can verify the functionalities with::
Now you can verify your configuration with::
$ rclone lsd garr-cloud:
$ echo $?
The command above will most probably return no output, but the exit code should be 'zero'.
Copy files and directories to cloud
-----------------------------------
......@@ -108,7 +98,3 @@ The following command copies files from remote to a local directory, create it i
checkDir/subdir1:
total 4
-rw-rw-r-- 1 ubuntu ubuntu 459 Nov 13 15:32 file2.txt
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment