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/29 12:45] jypeter Added warnings/errors section |
other:lsce_cloud [2022/03/29 14:02] jypeter [Configuration] Added content |
||
---|---|---|---|
Line 139: | 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 | ||