Strategy for synchronizing home and data directories

Hi@all,

i run three ubuntu clients on ucs-4.4. one desktop and two notebooks. The desktop PC gets its home and the data directories via nfs from the server because it is permanently connected. with notebooks this is not so easy because they are often disconnected from the network.

The directories are located on the server:

/home
/data/Backup
/data/Bibli
/data/documents
/data/Downloads
/data/ISOs
/data/ Correspondence
/data/MData
/data/Security
/data/texts

as soon as the notebooks are connected to the lan a defined selection of directories should be syncronized. Is something like this possible? Maybe with NextCloud on the local server?

with best
sven

Hi,

with mobile devices you would like to have something that is like windows profiles or apple mobile homes.
You could achive this via logon an logoff scripts in Ubuntu that syncs your home dirs as a local copy
Nextcloud would be a good solution although. If you have many users with changing devices the management will be a nightmare.

best beguards

no, the situation mentioned is a user with his three devices (1xPC, 2xNotebook). The other users with their devices work locally with static nfs-clients (on the same directories)

Hi,

have a look at Syncthing. Works for me like a charm between mobile phone, Windows client, Linux server and 2 Linux notebooks.
EDIT: I suggest to download the latest version from https://syncthing.net/

Best regards,

Sönke

Thanks for the advice. I’ll take a look at the documentation.

Mastodon