I’ve been generally running various different ways of backing up files to my NAS (which then backs up to other locations…) - mostly syncthing for photos and large collections of files, but I tend to use rsync to push out config backups to the NAS once something’s working.

But, the NAS is only powered up a few times a day (to save on electricity costs), which is fine for manual pushes, but makes scheduling backups a bit tricky.

It dawned on me that it might be better for the NAS to pull the files via rsync instead of pushing them.

Anyone tried this route and have any advice?

  • dengtav@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 hours ago

    I also thought about this, but instead of letting the NAS pull the backups, just let the NAS ping the local machine whenever it gets powered on.

    This way, the local machine would know, when it’s time to push.

    • notabot@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 hours ago

      That’s certainly an option, but depending on how paranoid you are that still typically means that a compromised server can overwrite all of its backup images on the NAS, which could leave you in trouble. If you can configure your NAS to only allow creation of new backups but not allow changing old ones, you might be ok.