Changes for page Přenos souborů pomocí RCLONE
Last modified by Jan LOŠŤÁK on 2023/03/23 14:00
From version 3.1
edited by Jan LOŠŤÁK
on 2022/06/01 18:18
on 2022/06/01 18:18
Change comment:
There is no comment for this version
To version 12.1
edited by Jan LOŠŤÁK
on 2023/03/22 14:36
on 2023/03/22 14:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Using rclonetocopyfiles inownCloud1 +Přenos souborů pomocí RCLONE - Content
-
... ... @@ -1,40 +1,60 @@ 1 -{{content syntax="markdown/1.2"}} 2 -# Using rclone to copy files in ownCloud 1 +Tento návod demonstruje připojení do cloudového uložiště pomocí programu RCLONE. 3 3 4 - In this exampleyouwill findwto copylarge filesor folderstoorfromyour owncloudaccount.3 +Připojení do cloudového uložiště pomocí **RCLONE **je možné na **MAC, Linux a Windows**. 5 5 6 -## Install rclone 7 -```sh 8 -yum install -y rclone 9 -``` 5 +== {{id name="PřenossouborůpomocíRCLONE-InstalaceRCLONE"/}}Instalace RCLONE == 10 10 11 -## Create ownCloud config 12 -First we need open configuration wizard: 7 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxCentOS/RHEL"/}}Linux CentOS/RHEL ==== 13 13 14 -```sh 9 +(% class="code" %) 10 +((( 11 +(% class="language-sh" %){{code language="none"}}yum install -y rclone 12 +{{/code}} 13 +))) 14 + 15 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxUbuntu/Debian"/}}Linux Ubuntu/Debian ==== 16 + 17 +(% class="language-sh" %){{code language="none"}}apt install -y rclone{{/code}} 18 + 19 +==== {{id name="PřenossouborůpomocíRCLONE-Windows"/}}Windows ==== 20 + 21 +[[https:~~/~~/rclone.org/install/#windows>>url:https://rclone.org/install/#windows||shape="rect"]] 22 + 23 +== {{id name="PřenossouborůpomocíRCLONE-Nastavenípřipojenídocloudovéhouložiště"/}}Nastavení připojení do cloudového uložiště == 24 + 25 +(% class="tw-data-text tw-text-large tw-ta" %) 26 +=== {{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:(%%) === 27 + 28 +(% class="code" %) 29 +((( 15 15 rclone config 16 - ```31 +))) 17 17 18 - Theninconfigurationwizard createnewremoteendpoint:33 +=== {{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(%%)**:** === 19 19 20 -```sh 21 -No remotes found - make a new one 35 +(% class="code" %) 36 +((( 37 +(% class="language-sh" %){{code language="none"}}No remotes found - make a new one 22 22 n) New remote 23 23 s) Set configuration password 24 24 q) Quit config 25 25 n/s/q> n 26 -``` 42 +{{/code}} 43 +))) 27 27 28 - Enterhemefyour endpoint:45 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtenázevvašehokoncovéhobodu:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte název vašeho koncového bodu**(%%)**:** === 29 29 30 -```sh 31 -name> myowncloud 32 -``` 47 +(% class="code" %) 48 +((( 49 +(% class="language-sh" %){{code language="none"}}name> myowncloud 50 +{{/code}} 51 +))) 33 33 34 34 Choose type of storage: 35 35 36 -```sh 37 -Type of storage to configure. 55 +(% class="code" %) 56 +((( 57 +(% class="language-sh" %){{code language="none"}}Type of storage to configure. 38 38 Choose a number from below, or type in your own value 39 39 .. 40 40 37 / Webdav ... ... @@ -41,12 +41,15 @@ 41 41 \ "webdav" 42 42 .. 43 43 Storage> webdav 44 -``` 64 +{{/code}} 65 +))) 45 45 46 -Enter the URL of ownCloud server: 67 +(% class="tw-data-text tw-text-large tw-ta" %) 68 +=== {{id name="PřenossouborůpomocíRCLONE-ZadejteadresuURLserverucloudovéhouložiště:"/}}(% class="Y2IQFc" lang="cs" %)Zadejte adresu URL serveru cloudového uložiště:(%%) === 47 47 48 -```sh 49 -** See help for webdav backend at: https://rclone.org/webdav/ ** 70 +(% class="code" %) 71 +((( 72 +(% class="language-sh" %){{code language="none"}}** See help for webdav backend at: https://rclone.org/webdav/ ** 50 50 51 51 URL of http host to connect to 52 52 Enter a string value. Press Enter for the default (""). ... ... @@ -53,13 +53,15 @@ 53 53 Choose a number from below, or type in your own value 54 54 1 / Connect to example.com 55 55 \ "https://example.com" 56 -url> https://privatecloud.imtm.cz/remote.php/dav/ 57 -``` 79 +url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/ 80 +{{/code}} 81 +))) 58 58 59 - Enterservice type:83 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtetypslužbywebdav:"/}}**Zadejte typ služby webdav:** === 60 60 61 -```sh 62 -Name of the Webdav site/service/software you are using 85 +(% class="code" %) 86 +((( 87 +(% class="language-sh" %){{code language="none"}}Name of the Webdav site/service/software you are using 63 63 Enter a string value. Press Enter for the default (""). 64 64 Choose a number from below, or type in your own value 65 65 1 / Nextcloud ... ... @@ -73,20 +73,24 @@ 73 73 5 / Other site/service or software 74 74 \ "other" 75 75 vendor> owncloud 76 -``` 101 +{{/code}} 102 +))) 77 77 78 - Enter yourusername:104 +=== {{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**(%%)**:** === 79 79 80 -```sh 81 -User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 106 +(% class="code" %) 107 +((( 108 +(% class="language-sh" %){{code language="none"}}User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 82 82 Enter a string value. Press Enter for the default (""). 83 83 user> <YOUR_USERNAME> 84 -``` 111 +{{/code}} 112 +))) 85 85 86 - Enter yourword:114 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtevašeheslo:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte vaše heslo**(%%)**:** === 87 87 88 -```sh 89 -Password. 116 +(% class="code" %) 117 +((( 118 +(% class="language-sh" %){{code language="none"}}Password. 90 90 y) Yes type in my own password 91 91 g) Generate random password 92 92 n) No leave this optional password blank (default) ... ... @@ -102,12 +102,14 @@ 102 102 y) Yes 103 103 n) No (default) 104 104 y/n> n 105 -``` 134 +{{/code}} 135 +))) 106 106 107 -Confir mconfigsummary:137 +=== {{id name="PřenossouborůpomocíRCLONE-Potvrďteshrnutíkonfigurace:"/}}(% style="color: rgb(32,33,36);" %)**Potvrďte shrnutí konfigurace**(%%)**:** === 108 108 109 -```sh 110 -Remote config 139 +(% class="code" %) 140 +((( 141 +(% class="language-sh" %){{code language="none"}}Remote config 111 111 -------------------- 112 112 [myowncloud] 113 113 type = webdav ... ... @@ -120,12 +120,14 @@ 120 120 e) Edit this remote 121 121 d) Delete this remote 122 122 y/e/d> y 123 -``` 154 +{{/code}} 155 +))) 124 124 125 - Ifeverything isd yourmneushouldlooklikethis:157 +=== {{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**(%%)**:** === 126 126 127 -```sh 128 -Current remotes: 159 +(% class="code" %) 160 +((( 161 +(% class="language-sh" %){{code language="none"}}Current remotes: 129 129 130 130 Name Type 131 131 ==== ==== ... ... @@ -139,27 +139,64 @@ 139 139 s) Set configuration password 140 140 q) Quit config 141 141 e/n/d/r/c/s/q> q 142 -``` 175 +{{/code}} 176 +))) 143 143 144 - #Copying files178 +== {{id name="PřenossouborůpomocíRCLONE-Přenossouborůasložek"/}}Přenos souborů a složek == 145 145 146 -## Copy directory to ownCloud 147 -```sh 148 -rclone copy --progress /backup myowncloud:/backup 149 -``` 180 +=== {{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ě === 150 150 151 -## Copy file to ownCloud 152 -```sh 153 -rclone copy --progress /myfile.tar myowncloud:/backup 154 -``` 182 +(% class="code" %) 183 +((( 184 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup 185 +{{/code}} 186 +))) 155 155 156 -## Copy directory from ownCloud 157 -```sh 158 -rclone copy --progress myowncloud:/backup /backup 159 -``` 188 +=== {{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ě === 160 160 161 -## Copy file from ownCloud 162 -```sh 163 -rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 164 -``` 165 -{{/content}} 190 +(% class="code" %) 191 +((( 192 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}} 193 +))) 194 + 195 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůdocloudovéhouložiště"/}}Kopírování souborů do cloudového uložiště === 196 + 197 +(% class="code" %) 198 +((( 199 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup 200 +{{/code}} 201 +))) 202 + 203 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůzcloudovéhouložiště"/}}Kopírování souborů z cloudového uložiště === 204 + 205 +(% class="code" %) 206 +((( 207 +(% class="language-sh" %)##rclone copy ~-~-progress [[myowncloud:/backup/myfile.tar>>url:http://myowncloud/backup/myfile.tar||shape="rect"]] /myfile.tar ## 208 +))) 209 + 210 +== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučet"/}}Kontrolní součet == 211 + 212 +=== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučetsouboru"/}}Kontrolní součet souboru === 213 + 214 +(% class="code" %) 215 +((( 216 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 217 +{{/code}} 218 +))) 219 + 220 +=== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučetsložky"/}}Kontrolní součet složky === 221 + 222 +(% class="code" %) 223 +((( 224 +\\ 225 +))) 226 + 227 +(% class="code" %) 228 +((( 229 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}} 230 +))) 231 + 232 +(% class="code" %) 233 +((( 234 +\\ 235 +)))
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 740558621 +95617256 - Title
-
... ... @@ -1,1 +1,1 @@ 1 - Using rclonetocopyfiles inownCloud1 +Přenos souborů pomocí RCLONE