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:29] jypeter [Sharing data with sharebox, and 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 103: | Line 103: | ||
=== 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 115: | ||
{{ :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 139: | ||
===== 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 | ||