Last modified by Jan LOŠŤÁK on 2023/03/23 14:00

From version 6.1
edited by Jan LOŠŤÁK
on 2022/06/03 01:07
Change comment: There is no comment for this version
To version 9.1
edited by Jan LOŠŤÁK
on 2023/02/13 10:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,38 +2,44 @@
1 -{{content syntax="markdown/1.2"}}
2 2  In this example you will find how to copy large files or folders to or from your owncloud account.
3 3  
4 -## Install rclone
5 -```sh
6 -yum install -y rclone
7 -```
3 +== {{id name="PřenossouborůpomocíRCLONE-Installrclone"/}}Install rclone ==
8 8  
9 -## Create ownCloud config
10 -First we need open configuration wizard:
5 +(% class="code" %)
6 +(((
7 +(% class="language-sh" %){{code language="none"}}yum install -y rclone
8 +{{/code}}
9 +)))
11 11  
12 -```sh
11 +== {{id name="PřenossouborůpomocíRCLONE-CreateownCloudconfig"/}}Create ownCloud config ==
12 +
13 +**First we need open configuration wizard:**
14 +
13 13  rclone config
14 -```
15 15  
16 -Then in configuration wizard create new remote endpoint:
17 +**Then in configuration wizard create new remote endpoint:**
17 17  
18 -```sh
19 -No remotes found - make a new one
19 +(% class="code" %)
20 +(((
21 +(% class="language-sh" %){{code language="none"}}No remotes found - make a new one
20 20  n) New remote
21 21  s) Set configuration password
22 22  q) Quit config
23 23  n/s/q> n
24 -```
26 +{{/code}}
27 +)))
25 25  
26 -Enter the name of your endpoint:
29 +**Enter the name of your endpoint:**
27 27  
28 -```sh
29 -name> myowncloud
30 -```
31 +(% class="code" %)
32 +(((
33 +(% class="language-sh" %){{code language="none"}}name> myowncloud
34 +{{/code}}
35 +)))
31 31  
32 32  Choose type of storage:
33 33  
34 -```sh
35 -Type of storage to configure.
39 +(% class="code" %)
40 +(((
41 +(% class="language-sh" %){{code language="none"}}Type of storage to configure.
36 36  Choose a number from below, or type in your own value
37 37  ..
38 38  37 / Webdav
... ... @@ -39,12 +39,14 @@
39 39   \ "webdav"
40 40  ..
41 41  Storage> webdav
42 -```
48 +{{/code}}
49 +)))
43 43  
44 -Enter the URL of ownCloud server:
51 +**Enter the URL of ownCloud server:**
45 45  
46 -```sh
47 -** See help for webdav backend at: https://rclone.org/webdav/ **
53 +(% class="code" %)
54 +(((
55 +(% class="language-sh" %){{code language="none"}}** See help for webdav backend at: https://rclone.org/webdav/ **
48 48  
49 49  URL of http host to connect to
50 50  Enter a string value. Press Enter for the default ("").
... ... @@ -52,12 +52,14 @@
52 52   1 / Connect to example.com
53 53   \ "https://example.com"
54 54  url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/
55 -```
63 +{{/code}}
64 +)))
56 56  
57 -Enter webdav service type:
66 +**Enter webdav service type:**
58 58  
59 -```sh
60 -Name of the Webdav site/service/software you are using
68 +(% class="code" %)
69 +(((
70 +(% class="language-sh" %){{code language="none"}}Name of the Webdav site/service/software you are using
61 61  Enter a string value. Press Enter for the default ("").
62 62  Choose a number from below, or type in your own value
63 63   1 / Nextcloud
... ... @@ -71,20 +71,24 @@
71 71   5 / Other site/service or software
72 72   \ "other"
73 73  vendor> owncloud
74 -```
84 +{{/code}}
85 +)))
75 75  
76 -Enter your username:
87 +**Enter your username:**
77 77  
78 -```sh
79 -User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
89 +(% class="code" %)
90 +(((
91 +(% class="language-sh" %){{code language="none"}}User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
80 80  Enter a string value. Press Enter for the default ("").
81 81  user> <YOUR_USERNAME>
82 -```
94 +{{/code}}
95 +)))
83 83  
84 -Enter your password:
97 +**Enter your password:**
85 85  
86 -```sh
87 -Password.
99 +(% class="code" %)
100 +(((
101 +(% class="language-sh" %){{code language="none"}}Password.
88 88  y) Yes type in my own password
89 89  g) Generate random password
90 90  n) No leave this optional password blank (default)
... ... @@ -100,12 +100,14 @@
100 100  y) Yes
101 101  n) No (default)
102 102  y/n> n
103 -```
117 +{{/code}}
118 +)))
104 104  
105 -Confirm config summary:
120 +**Confirm config summary:**
106 106  
107 -```sh
108 -Remote config
122 +(% class="code" %)
123 +(((
124 +(% class="language-sh" %){{code language="none"}}Remote config
109 109  --------------------
110 110  [myowncloud]
111 111  type = webdav
... ... @@ -118,12 +118,14 @@
118 118  e) Edit this remote
119 119  d) Delete this remote
120 120  y/e/d> y
121 -```
137 +{{/code}}
138 +)))
122 122  
123 -If everything is configured your rclone config mneu should look like this:
140 +**If everything is configured your rclone config mneu should look like this:**
124 124  
125 -```sh
126 -Current remotes:
142 +(% class="code" %)
143 +(((
144 +(% class="language-sh" %){{code language="none"}}Current remotes:
127 127  
128 128  Name Type
129 129  ==== ====
... ... @@ -137,27 +137,39 @@
137 137  s) Set configuration password
138 138  q) Quit config
139 139  e/n/d/r/c/s/q> q
140 -```
158 +{{/code}}
159 +)))
141 141  
142 -# Copying files
161 += {{id name="PřenossouborůpomocíRCLONE-Copyingfiles"/}}Copying files =
143 143  
144 -## Copy directory to ownCloud
145 -```sh
146 -rclone copy --progress /backup myowncloud:/backup
147 -```
163 +== {{id name="PřenossouborůpomocíRCLONE-CopydirectorytoownCloud"/}}Copy directory to ownCloud ==
148 148  
149 -## Copy file to ownCloud
150 -```sh
151 -rclone copy --progress /myfile.tar myowncloud:/backup
152 -```
165 +(% class="code" %)
166 +(((
167 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup
168 +{{/code}}
169 +)))
153 153  
154 -## Copy directory from ownCloud
155 -```sh
156 -rclone copy --progress myowncloud:/backup /backup
157 -```
171 +== {{id name="PřenossouborůpomocíRCLONE-CopyfiletoownCloud"/}}Copy file to ownCloud ==
158 158  
159 -## Copy file from ownCloud
160 -```sh
161 -rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar
162 -```
163 -{{/content}}
173 +(% class="code" %)
174 +(((
175 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup
176 +{{/code}}
177 +)))
178 +
179 +== {{id name="PřenossouborůpomocíRCLONE-CopydirectoryfromownCloud"/}}Copy directory from ownCloud ==
180 +
181 +(% class="code" %)
182 +(((
183 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup
184 +{{/code}}
185 +)))
186 +
187 +== {{id name="PřenossouborůpomocíRCLONE-CopyfilefromownCloud"/}}Copy file from ownCloud ==
188 +
189 +(% class="code" %)
190 +(((
191 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar
192 +{{/code}}
193 +)))
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -83394828
1 +95617246