Sync multiple computers to PC running OMV

  • Hey guys,


    I have set up OMV for a small office. What I have to far is one PC acting as NAS, with two shared folders. I am trying to find a way now to sync the documents folders from 3 other computers to the PC running OMV, so that the setup will look like this:


    Shared Folder 1
    Shared Folder 2
    PC1 Documents and Desktop folders (Mac)

    PC2 Documents and Desktop folders (Mac)
    PC3 Documents and Desktop folders (Windows)


    I have the first two shared folders setup, but battling to figure out how to sync the Documents and Desktop folders of each computer ?( I might be missing something obvious, but please forgive me as I have only tried out OMV since today.


    Another thing that is puzzling me is that I can read/write in the shared folders from Windows and Mac machines, but not from a Linux machine (ElementaryOS). If anyone could give me a clue on that as well, I'd really appreciate it! Ah, it was a problem with the ACL settings.


    Thanks so much in advance!

    • Offizieller Beitrag

    I assume that you are talking about having versioned backups of the desktop and documents folder on the PCs synced to the NAS now and then?


    You can setup the PCs to run a script every time it boots. Or at certain times. And have the script use a sync utility, like rsync, to create a timestamped snapshot of the desktop and documents folder in the right folder on the NAS. And perhaps have the script purge old snapshots.


    I do this on my PC and laptop. But they run Linux. Also I have a calibre (ebook manager) ebook library on my PC. I have it setup, using a script that launch calibre, so that whenever I quit calibre it automatically creates a new backup snapshot of my ebook collection on one of my NAS. I add ebooks to the collection, or update them, using calibre. So any changes to any part of the ebook collection are instantly backed up fully automatically to a timestamped snapshot.


    Most likely it is best if the NAS is always on and the client run the sync utility on boot and/or scheduled and send the time stamped snapshot to the NAS. Otherwise you would have to have shares on the PCs that the NAS can access and test if they are available before you run the sync.

    Be smart - be lazy. Clone your rootfs.
    OMV 5: 9 x Odroid HC2 + 1 x Odroid HC1 + 1 x Raspberry Pi 4

    Einmal editiert, zuletzt von Adoby ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!