This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:lsce_cloud [2022/03/25 14:49] jypeter [Are you ready?] Improved |
other:lsce_cloud [2022/03/29 15:41] jypeter [Synchronizing folders with ownCloud] |
||
---|---|---|---|
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 39: | Line 42: | ||
===== 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). |
- | 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 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! |
+ | * You can actually (try to) retrieve your data from the [[other:lsce_cloud#space_management|Deleted files]] section of sharebox | ||
==== Installation and basic configuration ==== | ==== Installation and basic configuration ==== | ||
Line 103: | Line 107: | ||
=== Checking ownCloud status === | === 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 |}} | + | 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 === | === Checking ownCloud activity === | ||
Line 115: | Line 119: | ||
{{ :other:owncloud_activity_blank.png?direct&600 |}} | {{ :other:owncloud_activity_blank.png?direct&600 |}} | ||
+ | |||
+ | === Warnings and errors examples === | ||
+ | |||
+ | A **//blue// status icon is a warning** that there is a problem that you can probably ignore. Check the ownCloud activity panel if you want to be sure! | ||
+ | |||
+ | e.g. the warning you get when all files are mirrored, but some temporary files were automatically ignored {{ :other:owncloud_info_notes.png?direct&800 |}} | ||
+ | |||
+ | A **//red// status icon means that there is a problem** that you should investigate and fix | ||
+ | |||
+ | e.g. the error you get when the local folder is not accessible (because it does not exist, is encrypted, etc...) {{ :other:owncloud_error.png?direct&800 |}} | ||
==== Are you ready? ==== | ==== Are you ready? ==== | ||
Line 129: | Line 143: | ||
===== 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 | ||