This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
it_services:fi:backuplaptopconf [2023/02/03 10:16] florido [Exclude some folders from being synchronized] |
it_services:fi:backuplaptopconf [2023/02/03 10:46] (current) florido [Exclude some folders/files from the backup by regular expression] |
||
---|---|---|---|
Line 86: | Line 86: | ||
:!::!::!::!: **WARNING** :!::!::!::!: | :!::!::!::!: **WARNING** :!::!::!::!: | ||
- | Some students reported that some versions of the client **delete the local files when un-ticking synchronization**. | + | Newer versions of the client **delete the local files when un-ticking synchronization**. This is by design. The ownCloud developers only support this kind of syncronization. |
- | This has been reported on Apple computers. | + | |
- | Hence I recommend not to use this feature so much. | + | Hence I recommend not to use this feature for backup. |
If you do not want to backup a subfolder inside a synchronized folder maybe you should rethink what you want to backup, or select individual folders to backup instead. | If you do not want to backup a subfolder inside a synchronized folder maybe you should rethink what you want to backup, or select individual folders to backup instead. | ||
Line 101: | Line 100: | ||
* Simply un-tick a folder to stop ownCloud from synchronizing that folder, then click on ''Apply'' to accept the changes. In the example below I am synchronizing ''test'' but not ''annobackupppo''. {{ :it_services:fi:owncloud_choosewhattosync_louie.png?600 |}} | * Simply un-tick a folder to stop ownCloud from synchronizing that folder, then click on ''Apply'' to accept the changes. In the example below I am synchronizing ''test'' but not ''annobackupppo''. {{ :it_services:fi:owncloud_choosewhattosync_louie.png?600 |}} | ||
* **NOTE:** the folder will not be synchronized, but **the files uploaded so far are still on the server**. You can see them by logging in into https://cloud.lucas.lu.se | * **NOTE:** the folder will not be synchronized, but **the files uploaded so far are still on the server**. You can see them by logging in into https://cloud.lucas.lu.se | ||
+ | * **NOTE:** the files will be **REMOVED from your local machine**, so make sure you synchronized them on the server at least once! | ||
* You can at any time restart synchronizing the folder by ticking it again. | * You can at any time restart synchronizing the folder by ticking it again. | ||
==== Exclude some folders/files from the backup by regular expression ==== | ==== Exclude some folders/files from the backup by regular expression ==== | ||
+ | |||
+ | This is the recommended way to exclude files from backup, but it's not so easy to use. | ||
This needs to be done before adding folders to synchronize, or ownCloud will upload all the files under a certain folder. This is done using pattern matching. There is already a predefined set of excluded patterns in ownCloud. | This needs to be done before adding folders to synchronize, or ownCloud will upload all the files under a certain folder. This is done using pattern matching. There is already a predefined set of excluded patterns in ownCloud. |