I’ve got a server, a friends got a server, what’s the best way to share stuff between the two?

  • 4am@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    If you want to run a mirror, rsync over ssh is one of the simplest ways.

    • RamRabbit@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Yeah, forwarding a port to a server with SFTP allows you both to have two-way links. Have done this with some of my friends as well.

      Sneakernet via a HDD is also damn helpful for initial bulk transfers.

    • 48954246@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      9 days ago

      Absolutely this OP. Have a quick watch of the feature showcase video and you will see just how perfect this is for your needs

  • Black616Angel@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    You could also set up a jellyfin (for media) or gameyfin (for games) container, expose that to the internet and give them credentials.

  • boletus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    Sync thing has been great and convenient for me. Use tailscale, zero tier or just raw wire guard to see each other

  • JoeKrogan@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    If you want a quick and easy way to share the odd file you could set up a syncthing shared folder and COPY things in to it that you want to share. When the other side copies them out of the shared folder they will be removed from the shared folder on your side.

    The advantage of this is security. No access is given to your system. If your friends box is compromised you dont have an nfs mount or ssh key on their machine. The worst that can be done to you is copies in the shared folder are removed or malicious files are placed in the shared folder but they wont be able to execute.

    You also dont need to open any ports for syncthing , it will use relays if it cant make a direct connection.

  • Jo Miran@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    For large volumes of data, nothing beats shipping a large external drive (with a fast interface) from location to location.

  • Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    9 days ago

    Surprised no one just said Samba or NFS over a tunnel (Tailscale, WireGuard, etc).

    Or by “sharing” do you mean keeping files synced between the two for replication?

    • AuroraZzz@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Using a tunnel is definitely the way to go and very easy to set up. Please don’t share over https if you don’t know what you are doing

      • Cousin Mose@lemmy.hogru.ch
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 days ago

        Even worse, don’t use the suggested Samba, NFS without a tunnel either! You should probably have the default ports blocked at the router.

  • 7U5K3N@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    You could set up a tunnel between the two… a job that rsyncs a folder to the other server automatically when something is added.

    Just a thought.