cross-posted from: https://feddit.org/post/29249226

OpenVFS and Systemd-Homed possible?

I’m into selfhosting and Im looking for a way to centralize the Userhomes and have a better Backup of these files.

The idea is to use a virtual filesystem to sync needed data to the client PC and have Homed to encrypt userdata and store the data on server.

That way I do not have to backup the client PCs.

What do you think? And are there any working examples out there?

  • ratatouille@feddit.orgOP
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 hours ago

    All family member I support and provide with services use a Laptop. They are connected over wireguard. Solutions that depends on Network connections will not work.

    • ShimitarA
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      Then I suspect homed will not really help. Something like syncthing is probably the way to go.

      • ratatouille@feddit.orgOP
        link
        fedilink
        arrow-up
        1
        ·
        13 minutes ago

        Thanks for the hint. Long ago I also used syncthing. At that time it not fit my needs. But in this case it may is a possibility.

        Any best practises for excluding files in Home for syncing like .cache ?

        As far syncthing does not come with a vfs.

      • hoshikarakitaridia@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        I second syncthing as a solution.

        I personally use an smb server and tail scale client + Headscale and then those smb files are locally backed up to a different drive / different PCs that remain in the network, but that doesn’t automatically sync and instead works by connecting to the server directly.

        What you’re describing sounds like a solution that automatically resynchronizes on connection, and that means you’re looking for versioning / sync, thus probably syncthing is the easiest.