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
Next revision Both sides next revision
other:lsce_cloud [2022/03/29 12:45]
jypeter Added warnings/errors section
other:lsce_cloud [2022/03/29 15:37]
jypeter [Experimenting with sharebox] Added security warning
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 folder on your local computer to the //​sharebox//​ server.  +    * ownCloud can **mirror** a **local** ​folder on your local computer to the **remote** ​//​sharebox//​ server.  
-  - and (only) then how to **synchronize** folders on different computers (very useful, ​and **possibly risky**)+  - and (only) then how to **synchronize** folders on different computers (very useful, ​when used correctly)
  
 ===== Using the LSCE sharebox server ===== ===== Using the LSCE sharebox server =====
Line 13: Line 13:
 ==== Experimenting with sharebox ==== ==== Experimenting with sharebox ====
  
-Have a quick look at the intranet [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​owncloud/​|sharebox]] page, then open the //​sharebox//​ URL in a browser and use your LSCE login and password to access the server.+Have a quick look at the intranet [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​owncloud/​|sharebox]] page (at least to find out what the //​sharebox//​ URL is), then open the //​sharebox//​ URL in a browser and use your LSCE login and password to access the server.
  
 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 a //public link//   * Learn how to share the ''​Test''​ folder using a //public link//
 +    * never forget that **anyone** with the public link (and the //optional password//) can access the data you share!
 +    * 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...
   * 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 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)
Line 139: Line 142:
 ===== Synchronizing folders on different computers ===== ===== Synchronizing folders on different computers =====
  
 +It should be very easy to synchronize folders, **if you have read all the previous sections of this page**!
 +
 +==== How does it work ? ====
 +
 +Basically, we are just going to use ownCloud, and mirror folders from two (or more) computers to the LSCE
 +//​sharebox//​ server !
 +
 +<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**
 +
 +Example use case:
 +  * **computer A**: computer at work
 +  * **computer B**: computer at home
 +</​WRAP>​
 +
 +A file (or folder) //changed// (created, updated or removed) on **computer A** will:
 +  - be mirrored to the sharebox server
 +  - and then mirrored to **computer B**
 +
 +This will work seamlessly provided you <wrap em>​don'​t change the same file (or folder) at the same time on different computers !!</​wrap>​ This will be easy to do if you:
 +
 +  * save and close files in mirrored folders before moving from one computer to the other (e.g. before going back home, or going to work)
 +  * make sure the computers are online //long enough// to mirror their files to the sharebox server before switching the computers off
 +
 +
 +==== Configuration ====
 +
 +  - [[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. 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**
 +  - [[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. REMOTE: ''​Backup/<​your_login>​_owncloud''​
 +  - 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**
 +  - 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
  
  
other/lsce_cloud.txt · Last modified: 2023/01/18 09:14 by jypeter