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

From version 1.1
edited by Jan LOŠŤÁK
on 2022/06/01 15:13
Change comment: There is no comment for this version
To version 11.1
edited by Jan LOŠŤÁK
on 2023/03/22 14:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Kopírování přes rclone
1 +Přenos souborů pomocí RCLONE
Content
... ... @@ -1,0 +1,247 @@
1 +(% style="" %)
2 +Tento návod demonstruje připojení do cloudového uložiště pomocí programu RCLONE.
3 +
4 +(% style="" %)
5 +Připojení do cloudového uložiště pomocí **RCLONE **je možné na **MAC, Linux a Windows**.
6 +
7 +== {{id name="PřenossouborůpomocíRCLONE-InstalaceRCLONE"/}}Instalace RCLONE ==
8 +
9 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxCentOS/RHEL"/}}Linux CentOS/RHEL ====
10 +
11 +(% class="code" %)
12 +(((
13 +(% class="language-sh" %){{code language="none"}}yum install -y rclone
14 +{{/code}}
15 +)))
16 +
17 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxUbuntu/Debian"/}}Linux Ubuntu/Debian ====
18 +
19 +(% class="code" %)
20 +(((
21 +\\
22 +)))
23 +
24 +(% class="language-sh" %){{code language="none"}}apt install -y rclone{{/code}}
25 +
26 +\\
27 +
28 +==== {{id name="PřenossouborůpomocíRCLONE-Windows"/}}Windows ====
29 +
30 +\\
31 +
32 +\\
33 +
34 +[[https:~~/~~/rclone.org/install/#windows>>url:https://rclone.org/install/#windows||shape="rect"]]
35 +
36 +\\
37 +
38 +(% class="code" %)
39 +(((
40 +\\
41 +)))
42 +
43 +== {{id name="PřenossouborůpomocíRCLONE-Nastavenípřipojenídocloudovéhouložiště"/}}Nastavení připojení do cloudového uložiště ==
44 +
45 +(% class="tw-data-text tw-text-large tw-ta" %)
46 +=== {{id name="PřenossouborůpomocíRCLONE-Nejprvepotřebujemeotevřítprůvodcekonfiguracípřikazem:"/}}(% class="Y2IQFc" lang="cs" %)Nejprve potřebujeme otevřít průvodce konfigurací přikazem:(%%) ===
47 +
48 +(% class="code" %)
49 +(((
50 +rclone config
51 +)))
52 +
53 +=== {{id name="PřenossouborůpomocíRCLONE-Potévprůvodcikonfiguracívytvořtenovývzdálenýkoncovýbod:"/}}(% style="color: rgb(32,33,36);" %)Poté v průvodci konfigurací vytvořte nový vzdálený koncový bod(%%)**:** ===
54 +
55 +(% class="code" %)
56 +(((
57 +(% class="language-sh" %){{code language="none"}}No remotes found - make a new one
58 +n) New remote
59 +s) Set configuration password
60 +q) Quit config
61 +n/s/q> n
62 +{{/code}}
63 +)))
64 +
65 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtenázevvašehokoncovéhobodu:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte název vašeho koncového bodu**(%%)**:** ===
66 +
67 +(% class="code" %)
68 +(((
69 +(% class="language-sh" %){{code language="none"}}name> myowncloud
70 +{{/code}}
71 +)))
72 +
73 +Choose type of storage:
74 +
75 +(% class="code" %)
76 +(((
77 +(% class="language-sh" %){{code language="none"}}Type of storage to configure.
78 +Choose a number from below, or type in your own value
79 +..
80 +37 / Webdav
81 + \ "webdav"
82 +..
83 +Storage> webdav
84 +{{/code}}
85 +)))
86 +
87 +(% class="tw-data-text tw-text-large tw-ta" %)
88 +=== {{id name="PřenossouborůpomocíRCLONE-ZadejteadresuURLserverucloudovéhouložiště:"/}}(% class="Y2IQFc" lang="cs" %)Zadejte adresu URL serveru cloudového uložiště:(%%) ===
89 +
90 +(% class="code" %)
91 +(((
92 +(% class="language-sh" %){{code language="none"}}** See help for webdav backend at: https://rclone.org/webdav/ **
93 +
94 +URL of http host to connect to
95 +Enter a string value. Press Enter for the default ("").
96 +Choose a number from below, or type in your own value
97 + 1 / Connect to example.com
98 + \ "https://example.com"
99 +url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/
100 +{{/code}}
101 +)))
102 +
103 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtetypslužbywebdav:"/}}**Zadejte typ služby webdav:** ===
104 +
105 +(% class="code" %)
106 +(((
107 +(% class="language-sh" %){{code language="none"}}Name of the Webdav site/service/software you are using
108 +Enter a string value. Press Enter for the default ("").
109 +Choose a number from below, or type in your own value
110 + 1 / Nextcloud
111 + \ "nextcloud"
112 + 2 / Owncloud
113 + \ "owncloud"
114 + 3 / Sharepoint Online, authenticated by Microsoft account.
115 + \ "sharepoint"
116 + 4 / Sharepoint with NTLM authentication. Usually self-hosted or on-premises.
117 + \ "sharepoint-ntlm"
118 + 5 / Other site/service or software
119 + \ "other"
120 +vendor> owncloud
121 +{{/code}}
122 +)))
123 +
124 +=== {{id name="PřenossouborůpomocíRCLONE-Vložtesvojepřihlašovacíjméno:"/}}(% style="color: rgb(32,33,36);" %)**Vložte svoje přihlašovací jméno**(%%)**:** ===
125 +
126 +(% class="code" %)
127 +(((
128 +(% class="language-sh" %){{code language="none"}}User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
129 +Enter a string value. Press Enter for the default ("").
130 +user> <YOUR_USERNAME>
131 +{{/code}}
132 +)))
133 +
134 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtevašeheslo:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte vaše heslo**(%%)**:** ===
135 +
136 +(% class="code" %)
137 +(((
138 +(% class="language-sh" %){{code language="none"}}Password.
139 +y) Yes type in my own password
140 +g) Generate random password
141 +n) No leave this optional password blank (default)
142 +y/g/n> y
143 +Enter the password:
144 +password:
145 +Confirm the password:
146 +password:
147 +Bearer token instead of user/pass (e.g. a Macaroon)
148 +Enter a string value. Press Enter for the default ("").
149 +bearer_token>
150 +Edit advanced config? (y/n)
151 +y) Yes
152 +n) No (default)
153 +y/n> n
154 +{{/code}}
155 +)))
156 +
157 +=== {{id name="PřenossouborůpomocíRCLONE-Potvrďteshrnutíkonfigurace:"/}}(% style="color: rgb(32,33,36);" %)**Potvrďte shrnutí konfigurace**(%%)**:** ===
158 +
159 +(% class="code" %)
160 +(((
161 +(% class="language-sh" %){{code language="none"}}Remote config
162 +--------------------
163 +[myowncloud]
164 +type = webdav
165 +url = https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/
166 +vendor = owncloud
167 +user = <YOUR_USERNAME>
168 +pass = *** ENCRYPTED ***
169 +--------------------
170 +y) Yes this is OK (default)
171 +e) Edit this remote
172 +d) Delete this remote
173 +y/e/d> y
174 +{{/code}}
175 +)))
176 +
177 +=== {{id name="PřenossouborůpomocíRCLONE-Pokudjevšenakonfigurováno,vašekonfiguracerclonebymělavypadattakto:"/}}(% style="color: rgb(32,33,36);" %)**Pokud je vše nakonfigurováno, vaše konfigurace rclone by měla vypadat takto**(%%)**:** ===
178 +
179 +(% class="code" %)
180 +(((
181 +(% class="language-sh" %){{code language="none"}}Current remotes:
182 +
183 +Name Type
184 +==== ====
185 +myowncloud webdav
186 +
187 +e) Edit existing remote
188 +n) New remote
189 +d) Delete remote
190 +r) Rename remote
191 +c) Copy remote
192 +s) Set configuration password
193 +q) Quit config
194 +e/n/d/r/c/s/q> q
195 +{{/code}}
196 +)))
197 +
198 +== {{id name="PřenossouborůpomocíRCLONE-Přenossouborůasložek"/}}Přenos souborů a složek ==
199 +
200 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísložekdocloudovéhouložiště"/}}Kopírování složek do cloudového uložiště ===
201 +
202 +(% class="code" %)
203 +(((
204 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup
205 +{{/code}}
206 +)))
207 +
208 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísložekzcloudovéhouložiště"/}}Kopírování složek z cloudového uložiště ===
209 +
210 +(% class="code" %)
211 +(((
212 +\\
213 +)))
214 +
215 +(% class="code" %)
216 +(((
217 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}}
218 +)))
219 +
220 +(% class="code" %)
221 +(((
222 +\\
223 +)))
224 +
225 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůdocloudovéhouložiště"/}}Kopírování souborů do cloudového uložiště ===
226 +
227 +(% class="code" %)
228 +(((
229 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup
230 +{{/code}}
231 +)))
232 +
233 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůzcloudovéhouložiště"/}}Kopírování souborů z cloudového uložiště ===
234 +
235 +(% class="code" %)
236 +(((
237 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup
238 +{{/code}}
239 +)))
240 +
241 +== {{id name="PřenossouborůpomocíRCLONE-CopyfilefromownCloud"/}}Copy file from ownCloud ==
242 +
243 +(% class="code" %)
244 +(((
245 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar
246 +{{/code}}
247 +)))
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -74055858
1 +95617252
Title
... ... @@ -1,1 +1,1 @@
1 -Kopírování přes rclone
1 +Přenos souborů pomocí RCLONE