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/22 14:12] jypeter [Using the LSCE sharebox server] Added link to rclone |
other:lsce_cloud [2022/03/23 10:41] jypeter [Creating and testing a folder synchronization] |
||
---|---|---|---|
Line 5: | Line 5: | ||
- 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. 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! | + | * ownCloud can **mirror** a folder on your local computer to the //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, and **possibly risky**) | ||
Line 23: | Line 23: | ||
* With some work, you can use [[https://rclone.org/|rclone]] to move files directly from one of the LSCE servers to sharebox ! | * With some work, you can use [[https://rclone.org/|rclone]] to move files directly from one of the LSCE servers to sharebox ! | ||
- | ===== Making backups 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! | ||
+ | |||
+ | ==== Installation ==== | ||
* 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 (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 |}} | ||
+ | ==== Creating and testing 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 |}} | ||
+ | * Experimenting with the synchronized folders\\ It is **important** to experiment a bit and to understand how the synchronization works! | ||
+ | * 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) | ||
+ | * Monitoring the ownCloud activity | ||
+ | |||
+ | ==== Checking that things are working correctly ==== | ||
+ | |||
+ | <note important>There shouldn't be any problem, but you should **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> | ||
===== Synchronizing folders ===== | ===== Synchronizing folders ===== | ||