I’m duplicating my server hardware and moving the second set off site. I want to keep the data live since the whole system will be load balanced with my on site system. I’ve contemplated tools like syncthing to make a 1 to 1 copy of the data to NAS B but i know there has to be a better way. What have you used successfully?

  • Morethanevil@lemmy.fedifriends.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    Rsync or rclone are better ways than syncthing. Rsync can copy over ssh out of the box. Rclone can do the same but with a lot more backends. FTP, SSH, S3… It does not matter. Imo is rclone the better choice than rsync in this case. Take a look at rclone.org

  • _Analog_@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    syncthing falls down when you hit millions of files.

    Platform agnostic? Rsync from the perspective of duplicating the client-presented data.

    Or rclone, another great tool. I tend to use this for storage providers instead of between self hosted systems (or data center fully self-managed systems.)

    If the NAS uses zfs then zfs send/recv is the best, because you can send only the changed blocks. Want to redo the names on every single movie? No problem! I do recommend sanoid or syncoid, I don’t remember which. ZFS snapshots are not intuitive, make sure to do LOTS of testing with data you don’t care about, and which is small.

    In terms of truly duplicating the entire NAS, we can’t help without knowing which NAS you’re using. Or since this is selfhosted, which software you used to build a NAS.

  • flux@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    What about rclone? I’ve found it to be amazing for cloning or copying.