I’m looking for a linux program that can mirror a directory to another drive and move a subdirectory in the mirror.

  • @[email protected]
    link
    fedilink
    English
    51 year ago

    lsyncd does just this. It’s intended use is to sync directories between systems over slow(ish) uplink, but it can work locally as well. It takes some fiddling to set up, but once set up it just does it’s thing seamlessly at the background. However if you’re just looking for a backup solution I’d might look for something else, like a plain rsync script.

    • Nine
      link
      English
      31 year ago

      This is the best answer. I use it regularly to keep hundreds of TB in sync across nodes. Works extremely well and is pretty much hands off once setup.