User Tools

Site Tools


other:lsce_cloud

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
other:lsce_cloud [2022/03/22 13:58]
jypeter created (moved from other:win10config)
other:lsce_cloud [2022/03/24 15:23]
jypeter [Installation and basic configuration]
Line 1: Line 1:
 ====== Sharing data with sharebox, and synchronizing folders with ownCloud ====== ====== Sharing data with sharebox, and synchronizing folders 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>​
  
 There are several ways to use the [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​owncloud/​|LSCE cloud storage]] (aka //​sharebox//​). You should learn: There are several ways to use the [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​owncloud/​|LSCE cloud storage]] (aka //​sharebox//​). You should learn:
   - how to use //​sharebox//​ manually for **sharing** some files,   - how to use //​sharebox//​ manually for **sharing** some files,
-  - and 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. This is a useful but limited ​//kind of backup//. If you remove a file on your computer by mistake and ownCloud is running, the file will also be removed from the sharebox server! +    * ownCloud can **mirror** a folder on your local computer to the //sharebox// server.  
-  - and 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, and **possibly risky**)
  
 ===== Using the LSCE sharebox server ===== ===== Using the LSCE sharebox server =====
  
-Have a quick look at the  [[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, 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:
Line 18: Line 19:
   * 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)
  
-You can determine how much space you are currently using on sharebox, and what the upper limit is in the ''​Settings''​ panel{{ :​other:​sharebox_limits_notes.png?​direct&​600 |}}+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 |}}
  
-===== Making backups with ownCloud =====+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 |}}
  
-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)+Notes: 
 +  * When you use a (long) public link for sharing data, you may want to use an URL shortening service to make things easier (e.g. [[https://​bitly.com/​|bitly]]) 
 +    * **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 ! 
 + 
 +===== 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)
 + 
 +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! 
 + 
 +==== 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 (after installation or later) to complete the installation +    * 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) 
-  * 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 |}}
  
-===== Synchronizing folders =====+==== Creating a folder synchronization ==== 
 + 
 +  * Create your main [[other:​win10config#​the_most_important_folders|OWNCLOUD folder]] on the **local computer** 
 +  * Create your main ownCloud folder the //​sharebox//​ **remote server**: ''​Backup/<​your_login>​_owncloud''​{{ :​other:​sharebox_folders_notes.png?​direct&​600 |}} 
 +  * Open the ownCloud interface and click on the ''​Add account''​ button 
 +    * Use the //​sharebox//​ address (or CNRS //mycore//) in the ''​Server Address''​ field, and then your LSCE ''​Username''​ and ''​Password''​ 
 +    * Be sure to **select ''​Manually create folder sync connections''​** and then click on ''​Connect...''​ 
 +  * You are now ready to connect a **local** folder to a **remote** folder on //​sharebox//​! 
 +    * Click on ''​Add Folder Sync Connection'':​ 
 +      * ''​Pick a local folder on your computer to sync'':​\\ Select your main local OWNCLOUD folder: ''<​some_disk_different_from_c>:​\Users\<​your_login>​_owncloud''​ 
 +      * ''​Select a remote destination folder'':​\\ Select your main remote folder: ''/​Backup/​your_login_owncloud''​ 
 +      * Be sure to **uncheck the ''​Use virtual files instead of donwloading content immediately''​** 
 +      * Click on ''​Add Sync Connection''​ to finalize the connection and you should end up with something looking like{{ :​other:​sharebox_connected_notes.png?​direct&​600 |}} 
 + 
 +==== Testing a folder synchronization ==== 
 + 
 +<note important>​It is **important** to experiment a bit, and understand how the synchronization works!</​note>​ 
 + 
 +  * create test folders and files in the **local folder** (''<​some_disk_different_from_c>:​\Users\<​your_login>​_owncloud''​) 
 +  * check the content of the matching folder(s) in the **sharebox remote folder** (''/​Backup/​your_login_owncloud''​). You will probably have to **refresh the content of the browser window** (use ''​F5''​ as a shortcut for refreshing a browser window){{ :​other:​owncloud_sync_folders_notes.png?​direct&​600 |}} 
 +  * <wrap hi>​**Warning! The mirroring works both ways!**</​wrap>​ If you remove files or folders on the sharebox server (using the web interface), they will also be automatically deleted in the local folder! 
 +    * Try it for yourself by deleting some test files on the sharebox server 
 + 
 +==== Checking that things are working correctly ==== 
 + 
 +<note important>​There shouldn'​t be any problem, but you should still **check regularly that ownCloud is running correctly** 
 + 
 +Quitting (one of the rare times when you can use the ''​Quit ownCloud''​ button) and restarting ownCloud usually takes care of problems</​note>​ 
 + 
 +=== The obvious stuff === 
 + 
 +  * The mirroring will only work if: 
 +    * ownCloud is running on the local computer 
 +    * your computer has network access (and is online long enough to send/​receive all the changes) 
 +    * the sharebox server is running 
 + 
 +  * Be sure to save the files that you are editing (and that are in a mirrored folder) before shutting down your computer 
 +    * use a long enough delay (a few seconds will be OK if you have a good network access) after saving a file and shutting down your computer 
 + 
 +=== Is ownCloud running ? === 
 + 
 +Check that there is an ownCloud icon in the hidden icons of the taskbar (or start ownCloud) and that it has a green check-mark{{ :​other:​owncloud_ok.png?​direct |}} 
 + 
 +ownCloud should always be running, unless you have used the ''​Quit ownCloud''​ instead of ''​Hide''​ by mistake in the interface. 
 + 
 +=== Checking ownCloud status === 
 + 
 +You can start the ownCloud interface and check that ownCloud is operating properly (green check-mark){{ :​other:​owncloud_status_blank.png?​direct&​500 |}} 
 + 
 +=== Checking ownCloud activity === 
 + 
 +You can use the ''​Activity''​ panel to check the recent activity and make sure that ownCloud did everything //as expected//. If you see errors, try to correct them as soon as possible! 
 + 
 +The most recent action is listed at the top. In the example below (from bottom to top): 
 +  * A new folder on the local computer is uploaded to sharebox, and then renamed (''​Moved''​...) on sharebox after being renamed locally 
 +  * A test image is added to the new folder (both locally and on sharebox) and the renamed 
 +  * A text file is added, renamed and updated 
 + 
 +{{ :​other:​owncloud_activity_blank.png?​direct&​600 |}} 
 +==== Are you ready? ==== 
 + 
 +You should now be ready to add real folders and documents to the local OWNCLOUD folder on your computer! 
 + 
 +  * Don't try doing too much at the beginning... 
 +  * The storage space is not infinite ([[#​using_the_lsce_sharebox_server|check your limits]] from time to time)! 
 +  * **Do not** try to mirror your //Windows// home folder (on ''​C:''​),​ or similar folders (e.g. //​Thunderbird//​ and //Firefox// folders) that have lots and lots of useless temporary files 
 +  * Never forget that //​mirroring//​ is not a foolproof type of backup! 
 +    * You should also use SyncBack or other types of [[other:​win10apps#​backup_software|Backup software]] for saving your data to an external disk 
 +  * Check from time to time that [[#​checking_that_things_are_working_correctly|ownCloud is working as expected]] 
 +===== Synchronizing folders ​on different computers ​===== 
  
  
other/lsce_cloud.txt · Last modified: 2023/01/18 09:14 by jypeter