User Tools

Site Tools


other:lsce_cloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
other:lsce_cloud [2022/03/30 14:35]
jypeter [Experimenting with sharebox] Added more things the user should test
other:lsce_cloud [2022/04/26 14:25]
jypeter [Installation and basic configuration] Added example of overlay icons and context menu
Line 1: Line 1:
-====== Sharing data with sharebox, and synchronizing folders with ownCloud ======+====== Sharing data with sharebox, and synchronizing folders ​and computers ​with ownCloud ======
  
 <note tip>The screenshots and examples on this page are based on Windows,\\ but what is explained here should also work on Linux and Apple computers</​note>​ <note tip>The screenshots and examples on this page are based on Windows,\\ but what is explained here should also work on Linux and Apple computers</​note>​
Line 6: Line 6:
   - how to use //​sharebox//​ manually for **sharing** some files,   - how to use //​sharebox//​ manually for **sharing** some files,
   - then how to use //​ownCloud//​ for **synchronizing** some folders   - then how to use //​ownCloud//​ for **synchronizing** some folders
-    * ownCloud can **mirror** a **local** folder on your local computer to the **remote** //​sharebox//​ server +    * ownCloud can **mirror** a **local** folder on your local computer to the **remote** ​LSCE //​sharebox//​ server 
-  - and (only) then how to **synchronize** folders on different computers ​(very useful, when used correctly)+    * this is a kind of automated backup 
 +  - and (only) then how to **synchronize** folders on different computers 
 +    * **very useful, when used correctly**, if you want to easily share data between a desktop at work/home and a laptop 
 +    * you can skip this part if you use the same laptop at work and at home
  
 ===== Using the LSCE sharebox server ===== ===== Using the LSCE sharebox server =====
Line 16: Line 19:
  
 If you have never used the LSCE //​sharebox//​ server, try using it a bit: If you have never used the LSCE //​sharebox//​ server, try using it a bit:
-  * Create a new ''​Test''​ folder (on ''​sharebox''​!) and use drag and drop to upload a file from your computer to the new ''​Test''​ folder+  * Create a new ''​Test''​ folder (on ''​sharebox''​!) and use //drag and drop// to upload a file from your computer to the new ''​Test''​ folder
   * Learn how to share the ''​Test''​ folder using: ''​Sharing''​ => ''​Public Links''​   * Learn how to share the ''​Test''​ folder using: ''​Sharing''​ => ''​Public Links''​
     * never forget that **anyone** with the public link (and the //optional password//) can access the data you share!     * never forget that **anyone** with the public link (and the //optional password//) can access the data you share!
     * do not share sensitive information!     * do not share sensitive information!
-    * the security of the data on sharebox, and transferred to/from sharebox is not as good as the one on the LSCE servers... +    * the security of the data on sharebox, and data transferred to/from sharebox is not as good as the one on the LSCE servers... 
-  * Use the public link in another browser (or in a new //incognito window// of the same browser) to find out how people with the link will see the content of the folder you have shared+  * Use the generated ​public link in another browser (or in a new //incognito window// of the same browser) to find out how people with the link will see the content of the folder you have shared
   * Try to share only the uploaded file (instead of the full content of the ''​Test''​ folder)   * Try to share only the uploaded file (instead of the full content of the ''​Test''​ folder)
   * Try to share the ''​Test''​ folder with: ''​Sharing''​ => ''​User and Groups''​   * Try to share the ''​Test''​ folder with: ''​Sharing''​ => ''​User and Groups''​
     * You can add (and later remove!) an e-mail address (including a non-LSCE address) and the person will receive a mail for defining a password and accessing the shared data     * You can add (and later remove!) an e-mail address (including a non-LSCE address) and the person will receive a mail for defining a password and accessing the shared data
-    * You can share //​something// ​several times (with different addresses)+    * You can share the **same folder/file** ​several times (with **several persons** having ​different ​e-mail ​addresses) 
 +    * if you share **different folders/​files** with the **same person** (i.e. same email address), the password will be the same to access all the different folders/​files
   * Remove the shared access when you are finished testing   * Remove the shared access when you are finished testing
  
Line 31: Line 35:
 ==== Space management ==== ==== Space management ====
  
-You can determine **how much storage ​space** you are currently using on sharebox, and what the upper limit is in the ''​Settings''​ panel{{ :​other:​sharebox_limits_notes.png?​direct&​600 |}}+=== Available ​space ===
  
-The **deleted folders and files** can use some (a lot...) of space. Do not forget to **really remove them regularly** {{ :other:sharebox_deleted_notes.png?​direct&​600 |}}+You can find out **how much storage ​space** ​you are currently using on sharebox, and what your upper limit is, in the ''​Settings''​ panel{{ :other:sharebox_limits_notes.png?​direct&​600 |}}
  
 +=== Accessing deleted data ===
  
 +The **deleted folders and files** can use a lot of space, even if this //deleted// space is not added to your quota. Do not forget to **really remove them regularly**
 +
 +The deleted data will be automatically removed after //some time// (FIXME) ??
 +
 +{{ :​other:​sharebox_deleted_notes.png?​direct&​600 |}}
 +
 +
 +=== Accessing previous versions of the data ===
 +
 +You can also access previous versions of the files sent to sharebox, one file at a time. The multiple versions can use a lot of space, but will be automatically removed after //some time// (FIXME) ??
 +
 +Access the ''​Details''​ of a file, and then open the ''​Versions''​ panel. You can then either download or restore the file
 +
 +{{ :​other:​sharebox_file_details_notes.png?​direct&​500 |}}
 +
 +{{ :​other:​sharebox_file_versions_notes.png?​direct&​200 |}}
 ==== Sharebox related notes ==== ==== Sharebox related notes ====
  
Line 42: Line 63:
     * **Do not** use a URL shortening service to share **confidential information**!     * **Do not** use a URL shortening service to share **confidential information**!
  
-  * With some work, you can use [[https://​rclone.org/​|rclone]] on the LSCE servers to move files directly from one of the LSCE servers to sharebox !+  ​* **[Advanced]** With some work, you can use [[https://​rclone.org/​|rclone]] on the LSCE servers to move files directly from one of the LSCE servers to sharebox ! 
 + 
 +  * **[Advanced]** You can use ''​Settings''​=>''​Security''​ to generate [[https://​doc.owncloud.com/​webui/​next/​classic_ui/​session_management.html#​app-passwords|access tokens]] if you don't want to use your LSCE password in applications that will access sharebox
  
 ===== Synchronizing folders with ownCloud ===== ===== Synchronizing folders with ownCloud =====
  
   * The ''​ownCloud''​ application can be used to automatically mirror one (or more) folder(s) on your computer to the LSCE //​sharebox//​ server, or another ownCloud server (e.g. CNRS //mycore// server).   * The ''​ownCloud''​ application can be used to automatically mirror one (or more) folder(s) on your computer to the LSCE //​sharebox//​ server, or another ownCloud server (e.g. CNRS //mycore// server).
 +    * [[https://​doc.owncloud.com/​webui/​next/​classic_ui/​|Official ownCloud documentation]],​ if you want to know more than what is explained on this page :)
  
-  * This is a useful but limited ​//kind of backup//. If you remove a file on your computer by mistake when ownCloud is running, the file will also be removed from the sharebox server! +  * This is a //kind of backup//, useful but with some limitations. If you remove a file on your computer by mistake when ownCloud is running, the file will also be removed from the sharebox server! ​And if you remove a file using the web interface, it will also be removed from your computer 
-    * You can actually (try to) retrieve your data from the [[other:​lsce_cloud#​space_management|Deleted files]] section of sharebox+    * You can actually (try to) retrieve your data from the [[other:​lsce_cloud#​space_management|Deleted files]] section of sharebox ​
 +    * You can also [[other:​lsce_cloud#​space_management|access previous versions of the files]].
  
 ==== Installation and basic configuration ==== ==== Installation and basic configuration ====
  
   * Download and install the [[https://​owncloud.com/​desktop-app/​|owncloud Desktop App]]   * Download and install the [[https://​owncloud.com/​desktop-app/​|owncloud Desktop App]]
-    * You will also have to restart your computer (directly after installation or later) to complete the installation ​(and get some special **synchronization status icons** on top of the regular files' icons)+    * You will also have to restart your computer (directly after installation or later) to complete the installation. You will then get some special **synchronization status icons** on top of the regular files' icons, and an **ownCloud //context menu//**{{ :​other:​owncloud_win_menu_notes.png?​direct&​600 |}}
   * Launch //​ownCloud//,​ but do not configure a server yet   * Launch //​ownCloud//,​ but do not configure a server yet
     * Open the ''​Settings''​ panel and check the recommended settings and usage on the image below{{ :​other:​owncloud_settings_notes.png?​direct&​600 |}}     * Open the ''​Settings''​ panel and check the recommended settings and usage on the image below{{ :​other:​owncloud_settings_notes.png?​direct&​600 |}}
Line 137: Line 162:
 You should now be ready to add real folders and documents to the  [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]] on your computer! You should now be ready to add real folders and documents to the  [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]] on your computer!
  
-  * Don't try doing too much at the beginning...+  * Don't try doing too much at the beginning!
     * i.e start with a simple sub-folder of the [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]], add more folders later when you feel safe     * i.e start with a simple sub-folder of the [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]], add more folders later when you feel safe
   * The storage space is not infinite ([[other:​lsce_cloud#​space_management|check your storage usage]] from time to time)!   * The storage space is not infinite ([[other:​lsce_cloud#​space_management|check your storage usage]] from time to time)!
-  * **Do not** mirror your //Windows// home folder (on ''​C:''​),​ or similar folders (e.g. //​Thunderbird//,​ //Firefox// and //Chrome// folders) that have lots and lots of useless cache/​temporary files+  * **Do not** mirror your Windows //home// folder (''​C:​\Users\your_login''​), Linux //home// directory, or similar folders (e.g. //​Thunderbird//,​ //Firefox// and //Chrome// folders) that have lots and lots of useless cache/​temporary files
     * To be sure of what you are mirroring, it's safer to create a dedicated ​ [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]] (outside of the other folders you use) and progressively add subfolders that you want to mirror     * To be sure of what you are mirroring, it's safer to create a dedicated ​ [[other:​win10config#​local_owncloud_folder|local OWNCLOUD folder]] (outside of the other folders you use) and progressively add subfolders that you want to mirror
   * Never forget that //​mirroring//​ is not a foolproof type of backup!   * Never forget that //​mirroring//​ is not a foolproof type of backup!
Line 155: Line 180:
  
 <WRAP center round box 60%> <WRAP center round box 60%>
-Local folder on **computer A** <wrap em><​=></​wrap>​ <wrap hi>​**sharebox server**</​wrap>​ <wrap em><​=></​wrap>​ Local folder on **computer B**+Local folder on **computer A** <wrap em><​=></​wrap>​ <wrap hi>​** ​Folder on sharebox server**</​wrap>​ <wrap em><​=></​wrap>​ Local folder on **computer B**
  
 Example use case: Example use case:
Line 176: Line 201:
   - [[other:​lsce_cloud#​synchronizing_folders_with_owncloud|Install ownCloud and create a folder configuration]] on **computer A** (your main computer)   - [[other:​lsce_cloud#​synchronizing_folders_with_owncloud|Install ownCloud and create a folder configuration]] on **computer A** (your main computer)
     * e.g. LOCAL folder <wrap em>@ A</​wrap>:​ ''<​some_disk_different_from_c_on_A>:​\Users\<​your_login>​_owncloud''​     * e.g. LOCAL folder <wrap em>@ A</​wrap>:​ ''<​some_disk_different_from_c_on_A>:​\Users\<​your_login>​_owncloud''​
-    * e.g. REMOTE: ''​Backup/<​your_login>​_owncloud''​+    * e.g. sharebox ​REMOTE: ''​Backup/<​your_login>​_owncloud''​
   - Add some content to the LOCAL mirrored folder on **computer A** and **make sure that all the mirrored files are closed**   - Add some content to the LOCAL mirrored folder on **computer A** and **make sure that all the mirrored files are closed**
   - [[other:​lsce_cloud#​synchronizing_folders_with_owncloud|Install ownCloud and create a folder configuration]] on **computer B**   - [[other:​lsce_cloud#​synchronizing_folders_with_owncloud|Install ownCloud and create a folder configuration]] on **computer B**
     * e.g. LOCAL folder <wrap em>@ B</​wrap>:​ ''<​some_disk_different_from_c_on_B>:​\Users\<​your_login>​_owncloud''​     * e.g. LOCAL folder <wrap em>@ B</​wrap>:​ ''<​some_disk_different_from_c_on_B>:​\Users\<​your_login>​_owncloud''​
-    * e.g. REMOTE: ''​Backup/<​your_login>​_owncloud''​ +    * e.g. **same sharebox ​REMOTE ​folder** as on **computer A**: ''​Backup/<​your_login>​_owncloud''​ 
-  - watch content from **computer A** appear in the LOCAL folder on **computer B** ! +  - Watch content from **computer A** appear in the LOCAL folder on **computer B** ! 
-  - change ​some content on **computer B** and **make sure that all the mirrored files are closed** +  - Change ​some content ​of the LOCAL folder ​on **computer B** and **make sure that all the mirrored files are closed** 
-  - go back to **computer A** and check the updated content (from **computer B**) +  - Go back to **computer A** and check the updated content (from **computer B**) 
-  - you can also [[#​checking_owncloud_activity|check the ownCloud activity log]] on both computers to make sure that things took place as expected+  - You can also [[#​checking_owncloud_activity|check the ownCloud activity log]] on both computers to make sure that things took place as expected 
 + 
 +==== Synchronization errors? ==== 
 + 
 +There should not be any errors if you work cleanly (save a file on a computer before accessing it from another computer)!
  
 +If [[#​checking_that_things_are_working_correctly|things don't seem to work correctly]],​ try to identify and solve errors as soon as possible! And try to recover files from the [[#​accessing_deleted_data|Deleted files]], or [[#​accessing_previous_versions_of_the_data|older versions]] of the files.
  
 /* standard page footer */ /* standard page footer */
other/lsce_cloud.txt · Last modified: 2023/01/18 09:14 by jypeter